Howdy, A WAR file can contain images and static files outside a jar -- in fact, WAR is designed to do exactly that.
To serve images directly out of a zip or jar files you have to write a servlet -- what would be the URL for these images? ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Vijay Kandy [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 11, 2003 11:44 AM >To: 'Tomcat Users List' >Subject: Serving files from a jar > >Hello All, > >Does Tomcat serve static files out of a jar file? If so what are the >conditions? > >I have several .html and .gif files and when I deploy a war file that >includes these static content (as individual files in a folder) Tomcat >serves them perfectly fine. However I would like to zip them as a bundle >separate from the class files. Any ideas? > >Thank you, >Vijay > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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]
