Hi,
>In short, how does one deploy a war file such that it looks
>for content ("/images/whatever.gif") in a configurable location
>in the file system?
Configure the server to serve that WAR file with a context path of ""
(the empty string). This can be done in tomcat in three ways:
- Add a Context entry in conf/server.xml whose path="" and docBase is
your WAR
- Add an xml file with the Context tag to conf/[engine name]/[host name]
(same path and docBase)
- Put same XML file as above in your WAR file's META-INF directory
instead of under the conf directory (tomcat 5 only).
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]