• 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

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

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 name="paramExampleAction" class="ParamExample.MyAction">
<param name="nameAction">Rushabh123456</param>
<result name="SUCCESS" type="redirectAction">paramExampleAnotherAction.action</result>

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:
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic