I have a fairly simple problem, but can't figure out how to resolve it 
within the Struts framework.

What I want to do is link to a page on a different server / domain.  
Normally, you just put like <a href="http://www.otherdomain.com/page?q1=v1> 
tag (or the struts link tag).  This circumvents the controller, of course.

Complicating things, I need to pass parameters that reside on the same 
Action Form.  This prevents me from pre-generating the link, because the 
user could toggle check boxes, type in text fields, etc., and these 
params+values should be passed to the request on www.otherdomain.com.

The only solution I've come up with is to have a Struts action that uses 
URLConnection to send back the requested page back as the response.  I 
haven't tried this yet (so maybe it doesn't work), but it seems like such a 
hack.  

Anyone have a better idea?  (I would *not* like to resolve this with 
javascript.)

Mike


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to