[jetty-user] How to link to images from servlet

andrej rolih <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
Hi!

I have a one ServletContextHandler with one servlet added - with 
path "/*". Problem is that I don't know how to serve a simple 
image/stylesheet. If I open localhost:8080/ my servlet appears, if I 
open localhost:8080/whatever my servlet appears ... I want / to be 
reserved for the servlet but I need something like /files to serve my 
images/stylesheets. Problem is that I don't know how to serve static 
contect inside my servlet.


Thank you for any help!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.