webwork repeat execute action in weblogic 8.14

View: New views
3 Messages — Rating Filter:   Alert me  

webwork repeat execute action in weblogic 8.14

by Poornima-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am a newbie in webwork. I use webwork 2.2.7 and run in weblogic 8.14
unluck, I can't run it!
My project is very simple.
this is a xwork.xml
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN"
 "http://www.opensymphony.com/xwork/xwork-1.0.dtd">
 <xwork>
     <include file="webwork-default.xml"/>
 
     <package name="default" extends="webwork-default">
         <default-interceptor-ref name="completeStack"/>
 
         <action name="helloWorld"
                 class="com.webwork.test.HelloWorld">
             <result name="success">/WEB-INF/jsp/hello.jsp</result>
         </action>
     </package>
</xwork>

this is the action
public class HelloWorld extends ActionSupport {
        private String message;

        public String execute()
        {
                message = "Hello, WebWorld!";
                return SUCCESS;
        }
       
        public String getMessage()
        {
                return message;
        }

        public String delete(){
                message = "Hello, Delete World!";
                return SUCCESS;
        }
       
}

this is the jsp file
<%@ taglib prefix="ww" uri="/webwork" %>
 <html>
   <head>
    <title>Hello Page</title>
   </head>
  <body>
    WebWork says:
    <h1><ww:property value="message"/></h1>
    <ww:a href="http://news.sina.com.cn">testurl</ww:a>
    <ww:form method="post">
    <ww:submit action="helloWorld!delete"></ww:submit>
    </ww:form>
  </body>
 </html>

I use dynamic action call
base method is execute
the other method is delete

when I click delete. It will continue run delete repeat and repeat until server is down.

but in tomcat 5, no this problem.

can any one help me ?

Thank you.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=334324&messageID=419318#419318


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webwork repeat execute action in weblogic 8.14

by Poornima-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found when action execute finish, then the dispatcher dispatch the result jsp file,
then the weblogic Server lib start deal dispath work,then execute myaction,

can any one help me?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=334324&messageID=420749#420749


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: webwork repeat execute action in weblogic 8.14

by Poornima-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please try to format your code next time.

There are some known problems with specific appservers. I suggest you read the documentation to see if there's anything about weblogic.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=334324&messageID=454994#454994


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...