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

Steve Sobol <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
On 2/24/2011 12:05 PM, andrej rolih wrote:
>
> I managed to add the DefaultServlet so when I go to
> localhost:8080/files I get a 404. Any other URL and I get to my
> servlet. Problem is that I don't know how to configure the
> DefaultServlet to serve my images/css files.

First, I want to say that the DefaultServlet solution is probably a much
better solution than the one I was offering.

Second, can you post your web.xml? I suspect there is a simple answer to
your question, but I need to see what you're doing first :)

Thanks,
  Steve


-- 
Lobos Studios - Website Design, Programming, IT Support
Phone: 877.919.4WEB (877.919.4932) (Toll-free)
Phone: 760.684.8859 (Victor Valley)
www.LobosStudios.com -- www.facebook.com/LobosStudios
www.twitter.com/LobosStudios
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.