Thanks Victor. I happened to solve the problem just 5 minutes before you
mail came in. This is what I did in my "relogon.jsp" (i used the redirect
tag) -

----------
<%@ page import="javax.servlet.*,javax.servlet.http.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

</HTML>
  <logic:redirect href="http://authtest.ca.boeing.com"/>
</HTML>
------------


-----Original Message-----
From: Victor Hadianto [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 5:08 PM
To: Struts Users Mailing List
Subject: Re: forwarding request to another resource


>    RequestDispatcher dispatcher =
> context.getRequestDispatcher("http://authtest.internal.ca.com/";);
>    dispatcher.forward(request,response);


getRequestDispatcher(String path) requires you to supply the path that is 
relative to the context root.

Try to do getRequestDispatcher("/") and see how it goes. Actually if you
read 
the stack trace it will tell you exactly what went wrong:

java.lang.IllegalArgumentException: Path http://authtest.ca.boeing.com/ does
not start with a "/" character

Cheers,

-- 
Victor


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

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

Reply via email to