And i suggest exactly an enhancement of Struts itself !! > > 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" />"/>.
With best regards. Laurie Harper wrote: > > Please post questions about using Struts to the Struts Users list only. > The Struts Dev list is for discussing the development and enhancement of > Struts itself. > > http://struts.apache.org/mail.html > > Igor Vlasov wrote: >> 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" />"/>. >> >> >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Disable-validate-interceptor-while-executeAndWant-in-%22wait%22-phase-tf4624733.html#a13227491 Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]