• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Can we pass data of older request into another action???

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic