My mistake try this.
<!-- FIRST Web application --> <Context path="/app1" docBase="C:\webapp1" debug="0"/> <!-- SECOND Web application --> <Context path="/app2" docBase="D:\webapp2" debug="0"/> Indrasish N Basuroychowdhury <[EMAIL PROTECTED]> wrote: Shapira, Thanks for the reply. Would appreciate any example line of code. Do I have to change the server.xml and add a new context? I was trying to do that but was not able to bring up the server. Thanks, Indrasish. -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 12:22 PM To: Tomcat Users List Subject: RE: Can I have two different directories for deploying webapps? Howdy, Yes. Just define additional Host elements with different appBase directories. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Indrasish N Basuroychowdhury >[mailto:[EMAIL PROTECTED] >Sent: Monday, November 10, 2003 12:21 PM >To: Tomcat Users List >Subject: Can I have two different directories for deploying webapps? > >Can I have two different directories for deploying web applications. >E.g. one as webapps under Tomcat root directory, another under a >different drive, say D:\webapps. Can I deploy servlet as well as JSPs >under these two directories? > >Any help will be appreciated. > >Indrasish. > > > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
