Hi.
I have a servlet running and normally I would map it so that when the URL is
it runs the servlet to process the form posted to it.
For convenience, we would like is so that the URL only needs to be:
I have amended the web.xml to be:
<servlet-mapping>
<servlet-name>UniSXAP</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
and it finds the servlet OK, but because I have referenced a .css file and an image also (in the HTML generated by the servlet), they are never found since the requests are always funnelled to the servlet.
Is it possible to achieve what I would like, or is it not possible to map the servlet and the other files in this way?
I have a servlet running and normally I would map it so that when the URL is
it runs the servlet to process the form posted to it.
For convenience, we would like is so that the URL only needs to be:
I have amended the web.xml to be:
<servlet-mapping>
<servlet-name>UniSXAP</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
and it finds the servlet OK, but because I have referenced a .css file and an image also (in the HTML generated by the servlet), they are never found since the requests are always funnelled to the servlet.
Is it possible to achieve what I would like, or is it not possible to map the servlet and the other files in this way?