• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing value from one action to another action servlet

 
Chandra Mohan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In struts 1.0, I would like to pass parameter from one action servlet to another action servlet. The value of the parameter has not constant, it has been keep on change as per the user input. Our struts application has running in the SAP background and receiving parameter action servlet has SAP class which I can't change. So I have to pass the value in request object. Please let me know how to push parameter / pass the value from one action servlet to another action serlvet ins struts 1.0.

Regards
Chandra Mohan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"mohan_cbe", please check your private messages for an important administrative matter.
 
tapeshwar sharma
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is not clear to me.
What's stopping you from appending the request parameter to the url of the second servlet just before you call it?
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be you can create a session beans , which holds the values you want to pass to another action .. Its not great solution , but it works !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic