I suspect, based on what you wrote, that your trying to do the later... While I wouldn't bet the house on it, I'm relatively sure there's no easy answer, Struts-based or not. So, time to think outside the box a bit...
Could you simply direct the browser to a JSP that has nothing in it but some JavaScript that, in response to the onLoad event, submits a form, which of course would have your parameters in it? This could submit to the outside application, and you'd get what you want I think. Can you see, based on what you know of your application, why that wouldn't work?
Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies www.omnytex.com
From: "Durham David R Jr Contr 805 CSPTS/SCE" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Redirecting a Request With params Date: Thu, 16 Sep 2004 16:46:23 -0500
I don't think there's anything built in to Struts to do this, but maybe there's something in one of the commons projects.
Here's an article that you could follow to create your own method.
http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
- Dave
> -----Original Message----- > From: El Toro [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 16, 2004 4:33 PM > To: Struts Users Mailing List > Subject: RE: Redirecting a Request With params > > I know of the two HTTP request types. I'm just > wondering how do I do this within the context of > struts. I did read the mailing list and there was a > similar example but it was not relevant to what I > need. I need a method to POST params to an external > site within a sruts action class...without using any > other external libraries. > > Thanks, > > TR > > --- Durham David R Jr Contr 805 CSPTS/SCE > <[EMAIL PROTECTED]> wrote: > > > > From: El Toro [mailto:[EMAIL PROTECTED] > > > > > > I have an action class which needs to redirect a > > > request to an application outside of the current > > > context. I also need to pass some parameters to > > the > > > outside application. One of these parameters is > > too > > > big to include on the URL/QueryString. Does > > anyone > > > know how I can redirect the request with the > > > parameters without tacking them on to the > > > URL/QueryString? > > > > The 2 most often used types of HTTP requests are GET > > and POST. If your > > query string is too large for a GET, then you can > > use a POST. > > > > > > - Dave > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]