posted 12 years ago
Hello friends,
Here i am using two action class
<action name="paramExampleAnotherAction" class="ParamExample.AnotherAction">
<result name="SUCCESS">/paramExample/result.jsp</result>
</action>
<action name="paramExampleAction" class="ParamExample.MyAction">
<param name="nameAction">Rushabh123456</param>
<result name="SUCCESS" type="redirectAction">paramExampleAnotherAction.action</result>
</action>
now i have created getter-setter of nameAction into both classes,now i want to retrive the value of nameAction into result.jsp page.
by simply writing <s:property value="nameAction"/> it is not getting the value,
My question is can we use the value of param which we have declared in 1st action declaration into another action class???if uyes then how?
Thanking you:
Rushabh