I have an jsp, called Part.jsp
 
 
     <s:property value=<"qty"/>
     <s:form action="testAction">
          ..
       <s:submit>
      </sform>
 
in the testAction
 
 . have setter/geter method for qty
 
   ...
   qty=99     /* before return force qty=99 */
   ...
   return "input"
 
in struts.xml
    <action name="testAction" class="testAction">
                    <result name="input">Part.jsp</result>
       </action>
 
after back to same page,
   qty is null
 
do not understand at all. if I redirect to different page, and qty can retrieve 
for no problem at all.
 
does struts can not postback after reset the same variable ?
 
thanks in advance
 
john

Reply via email to