No, I have read through the guide for my distribution (4.0.6) and I cannot find an explanation of how to configure server.xml for a new webapp that I have created. (Though I did create the webapp along the guidelines provided in the Application Developer's Guide, so that should be all set once I can get Tomcat to recognize that there is a new webapp there.)
If anyone can help me with this, that'd be much appreciated (CC me as I am a digester), thank you. Erik > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 10:05 PM > To: 'Enok Strine '; '[EMAIL PROTECTED] ' > Subject: RE: newbie Q > > > > More than likely, your questions are answered in the > documentation. Perhaps > things like the Application Developer's Guide would help: > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html > > John > > -----Original Message----- > From: Enok Strine > To: [EMAIL PROTECTED] > Sent: 11/19/02 10:01 PM > Subject: Re: newbie Q > > > I see. So the directories you talk of are not yet present, > presumably I > create them at my leisure? > What about ROOT? Why when I create > webapps/mydir/myfile.jsp and load > it > into the browser is it not accessible? (404) Must I define a > WEB-INF for > > each app under webapps? What must it contain? > > Thank you > > E. > > > >yes, each webapp has its own web.xml, you can use that among other > things > >to define your servlets, taglibs, resource-refs. > >unjared classes go into /WEB-INF/classes directory, jars go into > >/WEB-INF/lib > >How long a web.xml can be depends on how many things you > wish to put in > > >there. I think the tomcat doc has a section on best practices > deployment. > >It *should* come with your installation of tomcat. > > > >Enok Strine wrote: > > > >>Hi folks, > >> I have installed TC 4.1 and have it apprently installed > correctly. > Can > >>anyone tell me the significance of the WEB-INF dir please? > >> Also, must everything run under webapps/root/..? I am presuming > >>WEB-INF holds configuration / class libraries for each app? > Yet there > is a > >>single web.xml, file 6 lines in length? > >> Will someone please enlighten me? > >> > >>E. > >> > >>_________________________________________________________________ > >>The new MSN 8: advanced junk mail protection and 2 months FREE* > >>http://join.msn.com/?page=features/junkmail > >> > >> > >>-- > >>To unsubscribe, e-mail: > >><mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: > >><mailto:[EMAIL PROTECTED]> > >> > >> > > > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>