aspose file tools*
The moose likes Struts and the fly likes replicate normal form post behaviour in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "replicate normal form post behaviour in struts" Watch "replicate normal form post behaviour in struts" New topic
Author

replicate normal form post behaviour in struts

Ravikanth Reddy Bapathi
Greenhorn

Joined: Apr 13, 2007
Posts: 29
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: replicate normal form post behaviour in struts