Hi
I had some html file with relative path to images,html files .
Then i start used servlet-mapping on web.xml and all the relative path
cause 404 error.
I found (by enable debuging on server.xml) that the URI is missing the
'context' (which is 'gpp')
without servlet mapping -
I guess that a destroy() on the servlet should cause a new init() with the
ServletConfig as published on the web.xml.But it might be that it works only
if the container call a destroy() .
-Original Message-
From: Sebastian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001
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 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
Hi there , i install Tomcat 3.2.1 and i try to run its samples , but it
failed.
What's wrong or miss in the next steps which i follow :
1 - add to my autoexec.bat :
set TOMCAT_HOME=c:\tmct321
set JAVA_HOME=c:\jdk13002