This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redirect from one struts2 application to another.

 
Alexey Pashkevich
Greenhorn
Posts: 3
C++ Python VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

I`m trying to redirect and send some data from one struts2 application instance to another in POST request.
A was able to send data to another app in GET request, but I can`t find information about redirecting and sending data in POST request.

Can anyone help me?
struts2instances.png
[Thumbnail for struts2instances.png]
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are redirecting all the data in valueStack will not be available because it will create a new action instance of called action. use request parameters or session.
 
Alexey Pashkevich
Greenhorn
Posts: 3
C++ Python VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohan Rao Sv wrote:If you are redirecting all the data in valueStack will not be available because it will create a new action instance of called action. use request parameters or session.


I added picture, probably it help to better understand my situation.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some data? Are you sending any objects or string values? You can pass data only through request parameters.
 
Alexey Pashkevich
Greenhorn
Posts: 3
C++ Python VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohan Rao Sv wrote:some data? Are you sending any objects or string values? You can pass data only through request parameters.

I need to send java bean.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic