Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

replicate normal form post behaviour in struts

 
Ravikanth Reddy Bapathi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can i replicate normal form post behaviour in struts using <html:form>

my requirement is
on a form post, i would like to post the form parameters to a different application running on a different server.

This i can do it by normal form post by specifying the path in the action attribute as <form action="%path%>">

but if i specify the same in <html:form> it starts seraching in struts-config.xml

i have tried using redirect=true for my action mapping, but still could not access the request parameters.

i am assuming that redirect = true creates a new request, so i could'nt access the request parameters.

any help is appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic