Where to save the Images, HTML, and other static data in Tomcat?
Location: http://www.jguru.com/faq/view.jsp?EID=415903 Created: May 5, 2001 Author: Luigi Viggiano (http://www.jguru.com/guru/viewbio.jsp?EID=101985) Question originally posed by naveen grover (http://www.jguru.com/guru/viewbio.jsp?EID=411664 Images and HTML shall be put inside the context of your application: • somewhere inside /jakarta-tomcat-3.2.1/webapps/your_context/ • somewhere inside the war file of your application war file must be put inside /jakarta-tomcat-3.2.1/webapps/ An example of tree of a web application (in a .war archive) can be: war-file | |—-META-INF | |—MANIFEST.MF | |—WEB-INF | |—web.xml | |—jsp | | |—taglib (.tld) | |—classes | |—(.class/.properties) |—jsp | |—(.jsp/.html/.shtml) | |—images | |—(.gif/.png/.jpeg) | |—binaries |—(.zip/.tar/…) check examples in jakarta-tomcat-3.2.