You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thiago Locatelli da Silva <th...@digitro.com.br> on 2010/08/26 14:45:39 UTC

How to list registered Servlets (Servlet 3.0 spec)

Hello everybody.

Since servlet 3.0 spec, servlets/listeners/filters can be registered 
inside the context not only thru the web.xml, but also with @WebServlet 
annotation and with META-INF/web-fragment.xml file. I need to create a 
page that lists the current registered servlets/filters/listeners in the 
context. Is there a way to achieve this?

Many Thanks


*Thiago Locatelli da Silva*
/Analista de Sistemas/
/SIC - TDI - Tecnologia em Desenvolvimento de Interfaces/

*DÍGITRO TECNOLOGIA*
*E-mail:* thiago.silva@digitro.com.br <ma...@digitro.com.br>
*Fone:* +55 48 3281-7000* Ramal:* 7726
*Fax:* +55 48 3281-7299
*Site:* www.digitro.com <http://www.digitro.com>

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


Re: How to list registered Servlets (Servlet 3.0 spec)

Posted by Pid <pi...@pidster.com>.
On 26/08/2010 13:45, Thiago Locatelli da Silva wrote:
> Hello everybody.
> 
> Since servlet 3.0 spec, servlets/listeners/filters can be registered
> inside the context not only thru the web.xml, but also with @WebServlet
> annotation and with META-INF/web-fragment.xml file. I need to create a
> page that lists the current registered servlets/filters/listeners in the
> context. Is there a way to achieve this?
> 
> Many Thanks

Please start a new thread for this message, rather than editing &
replying to an existing message, which is called thread-hijacking and is
frowned upon.


p