tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ama gre <amarinder...@yahoo.co.in>
Subject Re: web.xml file
Date Mon, 21 Apr 2003 03:50:02 GMT
well the first structure is correct and for the second
u have to have mappings for different servlets under
different elements
amarinder --- Ben Austin
<ben_ja_min_aus_tin@hotmail.com> wrote: > I am using
Tomcat 3.2 and have two questions
> regarding specifying servlet 
> aliases in web.xml files:
> 
> 1. As I understand it, my directory structure should
> have a "servlet(s)" 
> folder at the root. Inside should be a folder named
> "WEB-INF". Inside the 
> "WEB-INF" folder I should have a web.xml file
> specifying my servlet aliases 
> and a "classes" folder. Lastly, my .class files
> should be in the "classes" 
> folder. Is this all correct?
> 
> 2. Can I include as many URL patterns for each
> servlet as I want? If so, 
> should the URL patterns all be in the same
> <servlet-mapping> tag or in 
> separate <servlet-mapping> tags?
> 
>
_________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online  
>
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>  

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message