How can I set up a servlet-mapping to map a specific servlet to
http://host:port/ but still have it available that any static file
without a maping can be accessed still?
I tried the following:
<servlet-mapping>
<servlet-name>HomePage</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
but this causes anything that doesnt already have a mapping to be
interpreted as the HomePage servlet. Which means I cant have my servlets
refering to static files such as http://host:port/images/something.jpg.
What url-pattern should I use to get it to allow only / in the mapping?
--
Trevor MacPhail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Servlet Mapping to / Trevor MacPhail
- Re: Servlet Mapping to / Craig R. McClanahan
- Re: Servlet Mapping to / Trevor MacPhail
- Re: Servlet Mapping to / Jon Eaves
- Re: Servlet Mapping to / Bill Barker