tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Fernández <afm...@tid.es>
Subject Re: problems with sendRedirect() on relative path
Date Wed, 06 Jun 2001 10:43:05 GMT
Hi Ofer!

You can specify a different context, that will not contain the /servlet
prefix. The prefix is set by context.

I don't think the suggestion that was sent before (RequestDispatcher)
will work, since it's a static page.

Un saludo,

Alex.

Ofer Baranes wrote:
> 
>  Hi
>  I am tring to use the HttpServletResponse sendRedirect() method to show a
> static page but i can't use relative path  only static path (which include
> the context).The problem occure because of the default '/servlet' prefix
> which is used on tomcat conf\servel.xml.This  default prefix force that each
> accses to servlet will contain the /servlet on the URI.
> Does anyone know how to solve that ?

Mime
View raw message