> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] > Subject: mysql + tomcat work already but I need to > reconfigurate the tomcat for load the examples in other > location of the hard driver > > but now I wanna have in other directory my web pages > examples, for instance > in d:\websites\examplesJSP, > what variable I need to change in the apache tomcat for > work?, what files in > the server apache tomcat can I change?
Once you've followed Chris' advice and learned how to build a webapp, you can specify the webapp location via a <Context> element in Tomcat. Webapps are normally deployed in the directory specifed by the appBase attribute of the <Host> element in conf/server.xml; if you want a different default location for all webapps, change that. If you just want to put a small number of webapps in a different location, create a file named conf/Catalina/[host]/[appName].xml containing a <Context> element with a docBase attribute whose value is the absolute location of the webapp. Relevant documentation links: http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html http://tomcat.apache.org/tomcat-6.0-doc/config/context.html http://tomcat.apache.org/tomcat-6.0-doc/config/host.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org