Friday, March 23, 2001 08:51 AM
I have a servlet that renders HTML pages that refer to images with a relative path like
In the production environment I am using a servletmapping so I can use a URL like:
Since the images directory is a subdirectory of the docbase directory this works fine. However with the Tomcat server integrated with JBuilder4 the URL is default something like:
With a URL like that the path to my image will be resolved to:
and so I get a "ClassNotFound" error.
I have tried several things as a workaround, but nothing seems to work (especially since I have not been able to prevent JBuilder to regenerate the web.xml each time the application is started).
What can I do???
Re: What web.xml to use?
Thursday, April 12, 2001 05:46 AM