struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afshartous, Nick" <nick.afshart...@proactcorp.com>
Subject can't redirect out of the context
Date Wed, 25 Jun 2003 18:04:06 GMT

Hi,

I'm trying to have an Action redirect to yahoo using the lines
below. However, the servlet context is getting prepended
and the error is

   The requested resource (/acme/www.yahoo.com) is not available.

Setting contextRelative did not make a difference.

Thanks for any suggestions.  
--
    Nick



	
 ActionForward forward = new RedirectingActionForward("www.yahoo.com");

 forward.setContextRelative(false);

 return forward;

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message