tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JULIEN,TIMOTHY (HP-NewJersey,ex2)" <>
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 []
Sent: Monday, May 28, 2001 8:10 PM
To: ''
Subject: web.xml


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


View raw message