RE: problems with sendRedirect() on relative path

2001-06-06 Thread Phillip Gibb
try using getContext() and getRequestDispatcher() and then include(req, res) you can set a context in the server.xml to point to a directory where you keep these static pages eg staticPages with the path set to c:\staticPages then using the

Re: problems with sendRedirect() on relative path

2001-06-06 Thread Alex Fernández
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

RE: problems with sendRedirect() on relative path

2001-06-06 Thread Ofer Baranes
:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 12:43 PM To: [EMAIL PROTECTED] Subject: Re: problems with sendRedirect() on relative path 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

Re: problems with sendRedirect() on relative path

2001-06-06 Thread Alex Fernández
. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 12:43 PM To: [EMAIL PROTECTED] Subject: Re: problems with sendRedirect() on relative path Hi Ofer! You can specify a different context, that will not contain