Hello.

I recieve an validation exception while "wait" phase of executeAndWant.

My example:
<pre>
1.
<action name="someAction" class="com.examples.SomeAction">
    <interceptor-ref name="completeStack"/>
    <interceptor-ref name="execAndWait"/>
    <result name="wait">longRunningAction-wait.jsp</result>
    <result name="success">longRunningAction-success.jsp</result>
</action>
</pre>


2. longRunningAction-wait.jsp
<pre>
<%@ taglib prefix="s" uri="/struts" %>
<html>
  <head>
    <title>Please wait</title>
    !!!   <meta http-equiv="refresh" content="5"/> !!!!!// without <a:url
includeParams="all" />
  </head>
  <body>
    Please wait while we process your request.
   
  </body>
</html>
</pre>

3. An long running action. LRAction

At first time, when i post data to LRAction, it does validation and start a
"background process" and display a "wait page".  then it calls LRAction in
refresh action and do not use any paramemers. This invoke validatotion and
therefore validatotion error.


I suggest to disable validation while "wait" phase is active.  
Therefore we may not use <meta http-equiv="refresh" content="5;url=<a:url
includeParams="all" />"/>.






-- 
View this message in context: 
http://www.nabble.com/Disable-validate-interceptor-while-executeAndWant-in-%22wait%22-phase-tf4624733.html#a13207452
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to