Hubert Rabago wrote:

What does your action mapping look like and what are your returning to struts
from within your Action?
You can use redirect="true" to redirect to yahoo:

<action path="..." ....>
<forward name="redirectToYahoo" path="http://www.yahoo.com"; redirect="true"/>
</action>

and in your Action:
return mapping.findForward("redirectToYahoo");

This is also cleaner than hardcoding the url into your Action class. If the url to yahoo were to change you'd have to change in the Action versus changing it in a config file. Use Hubert's approach here.


--
Rick


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



Reply via email to