Mapping images in web.xml

2003-06-12 Thread Donie Kelly
Hi all   I’ve mapped my default servlet in server.xml as “/” so all requests are mapped to that servlet. Is there any standard solution to getting the jsp and images to work under this situation?   At the moment they are all getting routed to the default servlet.   If I make the mapp

Re: Mapping images in web.xml

2003-06-13 Thread Bill Barker
I'm not really sure what you are trying to do, but it sounds like: MyDefaultServlet / default *.gif default *.jpg would work. Another suggestion (that I posted awhile back on the list) is code in your default-servlet something like: