Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Images in ROOT/images are not found

David Smith

2007-07-25

Replies:

Do you happen to have a webapp named images? If so, that's probably
receiving your request instead.

--David

Edward Mckee wrote:

> When I try to load images in ROOT/images I get a "requested resource
> (/images/submit.jpg) is not available." error
> If I move this image to ROOT/image it works.
>
> The the file is in the images directory webapps directory is webapps/
> ROOT/images/submit.jpg
>
> The file is in the images and image directory.
> ROOT/images/submit.jpg
> ROOT/image/submit.jpg
>
> (Does Not Works) http://76.79.2.227:8080/images/submit.jpg
> (Works) http://76.79.2.227:8080/image/submit.jpg
>
> I've verified that the images file works in other application
> directories. i.e. http://76.79.2.227:8080/admin/images/submit.jpg.
> I looked in the web.xml files to see if there was any mapping related
> to /images but couldn't find anything.
>
>
>
>
>
>
>
>
>
>
>
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.