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]>

Reply via email to