servlet mapping and relative path

2001-06-13 Thread Ofer Baranes
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 -

RE: reload web.xml from servlet?

2001-06-12 Thread Ofer Baranes
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

problems with sendRedirect() on relative path

2001-06-06 Thread Ofer Baranes
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

RE: problems with sendRedirect() on relative path

2001-06-06 Thread Ofer Baranes
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

problems with Tomcat 3.2.1 samples

2001-05-06 Thread Ofer Baranes
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