tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JULIEN,TIMOTHY (HP-NewJersey,ex2)" <timothy_jul...@hp.com>
Subject RE: web.xml
Date Tue, 29 May 2001 02:53:45 GMT
using <servlet> entries allows you to:

- specify init-parameters
- specify security-role-refs (a security role mapping)
- specify a security role to use for the request
- specify the servlet to be loaded on application (servlet context) startup
- specify a *jsp* to be used (not just a servlet class)
- use servlet mappings to map URLs to the <servlet>
- reuse servlet classes (across <servlet> entries)

many wonderful things.

Tim Julien
HP Middleware

-----Original Message-----
From: Brian Kejser [mailto:bkejser@KAISERDIGITAL.com]
Sent: Monday, May 28, 2001 8:10 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: web.xml


Hi

Is there any advantage to adding <servlet> entries in the WEB-INF/web.xml or
should you just rely on the auto loading feature?

Thanks

Mime
View raw message