I have define the error page in the web.xml descriptor:
  <error-page>
    <error-code>400</error-code>
    <location>html/errorPage.html</location>
  </error-page>
  <error-page>
    <error-code>404</error-code>
    <location>html/errorPage.html</location>
  </error-page>
  <error-page>
    <error-code>500</error-code>
    <location>html/errorPage.html</location>
  </error-page>

My webapp is specialoffer and I am using Tomcat 4.
If I type http://localhost:8080/specialoffer/jsp/dfklqjsf , I received
the
correct error page define in the web.xml.
But if I type the following URL
    http://localhost:8080/specialoffer/dfklqjsf
I receive the same page but without the images!

In the logfiles of Tomcat, I can see the image requests are differents
    [12/Mar/2002:15:08:48 1000] "GET /img/flag_fr_on.jpg HTTP/1.1" 404
630
in place of
    [12/Mar/2002:15:08:48 1000] "GET /specialoffer/img/flag_fr_on.jpg
HTTP/1.1" 404 630

Can you help me?
Benoit


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to