RE: Dynamic Forwards Offsite
The javadoc for ActionForward state you can use an absolute URI for the path parameter. I've never tried it though. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Dynamic Forwards Offsite How does one do a dynamic forward offsite, e.g. http://www.somewhere.com/index.htm;, within the context of the struts framework? This does not work with ActionForward, apparently, because the forwards there have a context of the application root in the container. I know how to do these with html, of course. I know, for example, how to use an action forward to a jsp page which will then forward to another website. I need to know, if possible, how to do this within the struts framework. Also, if we get by that aspect, the address to forward to must be dynamic. Thanks for any assistance. I have tried four books and the struts user archives without being able to find the answer to this. Thanks. LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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]
RE: Dynamic Forwards Offsite
Thanks for responding, however, I try the following: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), false); return forward; or: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), true); return forward; and I get: type Status report message /application/http://www.somewhere.com/message description The requested resource (/application/http://www.somewhere.com/message) is not available. com At 04:08 PM 2/20/03 -0500, you wrote: The javadoc for ActionForward state you can use an absolute URI for the path parameter. I've never tried it though. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Dynamic Forwards Offsite How does one do a dynamic forward offsite, e.g. http://www.somewhere.com/index.htm;, within the context of the struts framework? This does not work with ActionForward, apparently, because the forwards there have a context of the application root in the container. I know how to do these with html, of course. I know, for example, how to use an action forward to a jsp page which will then forward to another website. I need to know, if possible, how to do this within the struts framework. Also, if we get by that aspect, the address to forward to must be dynamic. Thanks for any assistance. I have tried four books and the struts user archives without being able to find the answer to this. Thanks. LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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] LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dynamic Forwards Offsite
Micael You might try this: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); response.sendRedirect(sb.toString()); return null; db -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 21:30 To: Struts Users Mailing List Subject: RE: Dynamic Forwards Offsite Thanks for responding, however, I try the following: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), false); return forward; or: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), true); return forward; and I get: type Status report message /application/http://www.somewhere.com/message description The requested resource (/application/http://www.somewhere.com/message) is not available. com At 04:08 PM 2/20/03 -0500, you wrote: The javadoc for ActionForward state you can use an absolute URI for the path parameter. I've never tried it though. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Dynamic Forwards Offsite How does one do a dynamic forward offsite, e.g. http://www.somewhere.com/index.htm;, within the context of the struts framework? This does not work with ActionForward, apparently, because the forwards there have a context of the application root in the container. I know how to do these with html, of course. I know, for example, how to use an action forward to a jsp page which will then forward to another website. I need to know, if possible, how to do this within the struts framework. Also, if we get by that aspect, the address to forward to must be dynamic. Thanks for any assistance. I have tried four books and the struts user archives without being able to find the answer to this. Thanks. LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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] LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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]
RE: Dynamic Forwards Offsite
Thanks, David. You the man! LOL. At 09:34 PM 2/20/03 +, you wrote: Micael You might try this: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); response.sendRedirect(sb.toString()); return null; db -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: 20 February 2003 21:30 To: Struts Users Mailing List Subject: RE: Dynamic Forwards Offsite Thanks for responding, however, I try the following: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), false); return forward; or: StringBuffer sb = new StringBuffer(); sb.append(http://www.somewhere.com/message;); ActionForward forward = new ActionForward(sb.toString(), true); return forward; and I get: type Status report message /application/http://www.somewhere.com/message description The requested resource (/application/http://www.somewhere.com/message) is not available. com At 04:08 PM 2/20/03 -0500, you wrote: The javadoc for ActionForward state you can use an absolute URI for the path parameter. I've never tried it though. -Original Message- From: Micael [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Dynamic Forwards Offsite How does one do a dynamic forward offsite, e.g. http://www.somewhere.com/index.htm;, within the context of the struts framework? This does not work with ActionForward, apparently, because the forwards there have a context of the application root in the container. I know how to do these with html, of course. I know, for example, how to use an action forward to a jsp page which will then forward to another website. I need to know, if possible, how to do this within the struts framework. Also, if we get by that aspect, the address to forward to must be dynamic. Thanks for any assistance. I have tried four books and the struts user archives without being able to find the answer to this. Thanks. LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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] LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - 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] LEGAL NOTICE This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]