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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to