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

Re: Jetty / servlet code issue



On Wed, 29 Jan 2003 12:35:03 -0500, Jason R. Kretzer was overheard saying:
|  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.

When you reference images with the form "/images/" your request could
go to a number of places.

If you have a web application deployed in the context path /images/
your images would reside in the root of that web application.

If you have a web application deployed in the default context path of
/ and you do not have another application in the context path
/images/, your images would reside in a directory called "images"
which lives in the root of the default web application.

If you have only added your single web application and its context
path is NOT / (which is usually the case), then /images won't go
anywhere at all and will give you a NoDefaultContext error.

Please include your Jetty configuration (XML or code) if you continue
to have problems.

-R

-- 
Robert Gash, gashalot@gashalot.com
(Web) http://gashalot.com/
(PGP) http://gashalot.com/pgpkeys.txt