Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send data from one action class to another action class

 
Harish Maridi
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I need to use the data which is in a action class, for two JSPs (second JSP will come in to picture upon the submission of the first page).

I am using the data in action class in first jsp because there is a mapping between them. Is there any way to bring data to second JSP.

Thank you in advance
-mark
 
Hongli Li
Ranch Hand
Posts: 124
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there are many ways to do it, the simplest way is store the date in request scope and forward the request to the second action.
Cheers
 
Harish Maridi
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yea I Tried... It worked for me... Thank you.
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use same form for both JSP's :-)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic