You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Navjot Singh <na...@net4india.net> on 2003/04/25 20:06:01 UTC

Tomcat Configuration [Outta Struts]

Hi Geeks,

I know this is out of topic Q but i am sure lot of guys around here must
have gone thru this.

I have app with directory structure like
/images/
/html/
/jsp/
etc.....

I create my war file with name "neo.war".

So by default, all the files are accesible thru url -
http://localhost:8080/neo/****

For all JSPs this is OK with me. But i want images to be accessible from
http://localhost:8080/images/a.gif rather than
http://localhost:8080/neo/images/a.gif

The reason i want to do that is i will be having 2 contexts under same host
but using same images.

I know that i can put my images in the parent of neo but that will defeat
the WAR file concept.
I am ready to create 2 war files. But there should be way to put images out
of context directory.

Or am i thinking in wrong direction?

-----------------------
regards
Navjot Singh


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org