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
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
:[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
.
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