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:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 8:10 PM
To: '[EMAIL PROTECTED]'
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

Reply via email to