aspose file tools*
The moose likes Struts and the fly likes POSTing to an Internet URL in a Struts Form 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 "POSTing to an Internet URL in a Struts Form" Watch "POSTing to an Internet URL in a Struts Form" New topic
Author

POSTing to an Internet URL in a Struts Form

Bhiku Mhatre
Ranch Hand

Joined: Feb 11, 2002
Posts: 33
Hi,
As far as I can deduce, Struts provides/needs a Form Action to be a relative URL. I have a situation where I want to send the information (after some pre-processing) to a live Internet URL.
What's the best way to do it in Struts? I do not wish to put the 'action="http://x.y.z"' in the Form because then I won't be able to use the pre-processing of the form etc features (and I guess I will be violating the MVC pattern).
Please advise, anyone?
thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: POSTing to an Internet URL in a Struts Form
 
Similar Threads
I need a help to solve this error
Bypassing ActionForm by using a query string
Struts Preprocessing
ajax and struts action class
Prepopulating a form