[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Jetty / servlet code issue



Hello all,

Another so simple, I can't see the answer type of question. I would like to 
use Jetty as a standalone server. I have managed to get it running with my 
added context. I am using a context that I brought over from an Apache/Tomcat 
setup. I just dropped it right in and it worked except for one thing. The 
images I need don't show up. In my servlet code, I use the following type of 
line to get the images


src="/images/Master.gif"

This worked on the Apache/Tomcat because the gif was located in 
apache/htdocs/images. I was wondering where in Jetty I must place the images 
directory to get it to work as coded above?

I have tried in the top Jetty directory, in the same directory as my WEB-INF, 
the top level / root directory, and in the WEB-INF/classes where my other 
classes are.

Any ideas?

Thanks!

-Jason