I have installed Tomcat version 4.0.4 and have set Java_home, to my jdk1.3.1_02 directory. To run my servlet, where do i have to load the classes. i am confused since there are 2 web_inf directories, structures as 1) webapps/ROOT/WEB_INF ( there is no "classes" directory, do i have to make it?) 2)webapps/examples >From: "Shapira, Yoav" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Subject: RE: Environment Variable >Date: Thu, 11 Jul 2002 11:02:09 -0400 > >Howdy, >If you have a different web.xml for each environment, you can put a >param there indicating which environment it is. If you have a different >tomcat startup script for each environment, you can add an option >(CATALINA_OPTS or JAVA_OPTS), e.g. -Dcom.mycompany.env=production and >then use System.getProperty("com.mycompany.env") to retrieve the value. > >Maybe one of those will work for you ;) > >Yoav Shapira >Millennium ChemInformatics > > > >-----Original Message----- > >From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] > >Sent: Thursday, July 11, 2002 10:54 AM > >To: 'Tomcat Users List' > >Subject: Environment Variable > > > >Hi, > >I have a quick question. I would like my application to know what kind >of > >environment (DEV, QA, PROD) it's in by looking at Tomcat. Does anyone >know > >how to do that? > > > >Thanks, > > > >Dean Chen > > > >-- > >To unsubscribe, e-mail: <mailto:tomcat-user- > >[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:tomcat-user- > >[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]>
_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>