Hello,

 

I am trying to use the execAndWait interceptor. My struts.xml looks
like:

 

<action name="foo" method="input" class="org.lls.classA">

<result name="input">foo.jsp</result>

</action>

<action name="foo_process" method="processFoo" class="org.lls.classA">

<interceptor-ref name="defaultStack"/>

<interceptor-ref name="token"/>

<!--

<interceptor-ref name="execAndWait">

<param name="delay">100</param>

<param name="delaySleepInterval">50</param>

</interceptor-ref>

-->   

<result name="success">foo-success.jsp</result>

<result name="wait">foo-wait.jsp</result>

<result name="input">foo.jsp</result>

<result name="invalid.token">foo.jsp</result>

</action>

 

Now in my action class, I have a bean with appropriate getter and setter
methods on it. The foo.jsp has a form which is mapped to attributes of
the bean in the action class. For example, <s:textfield
name="myBean.name".../>. The form tag looks like <s:form
action="foo_process"...>

 

When I run the application with the given struts.xml above, myBean gets
populated properly in the processFoo method (I'm assuming the Parameter
interceptor does that).

 

However, when I uncomment and try to use the execAndWait interceptor,
for some reason, myBean comes out to be NULL in processFoo().

 

Any help will be appreciated.

 

- Osman

 


______________________________________________________________________
This e-mail has been scanned by The Leukemia & Lymphoma Society Managed Email 
Content Service, provided by Verizon Business.

NOTICE: This message, including all attachments transmitted with it, is for the 
use of the addressee only. It may contain proprietary, confidential and/or 
legally privileged information. No confidentiality or privilege is waived or 
lost by any mistransmission. If you are not the intended recipient, you must 
not, directly or indirectly, use, disclose, distribute, print or copy any part 
of this message. If you believe you have received this message in error, please 
delete it and all copies of it from your system and notify the sender 
immediately by reply e-mail. Thank you.

Reply via email to