File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: replicate normal form post behaviour in struts
 
Similar Threads
MappedPropertyDescriptor error
html:form's action is blank
html:form's action is blank
DispatchAction in struts 1.1
Empty Action Form