Re: listing tomcat webapps
From: Juha Laiho (Juha.Laiho_at_iki.fi)
Date: 07/16/04
- Previous message: Québec: "Re: javadoc & package"
- In reply to: Praveen: "listing tomcat webapps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Jul 2004 20:27:03 GMT
praveenk.s@gmail.com (Praveen) said:
>I would like to list all active tomcat webapps without any mangeraial
>functions. This is intended as a starting page with links to all
>apps(contexts) present on this container. Is there any API call or
>class to get this info.
You could check how the manager app does this -- however, no app with
just the regular permissions on Tomcat is allowed to get this information,
so you'll have to grant some Tomcat-specific privs to the "frontpage"
application. And of course, this whole functionality is specific to
Tomcat, so won't work on other webapp containers, and is subject to
change if there's any change in Tomcat structure.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
- Previous message: Québec: "Re: javadoc & package"
- In reply to: Praveen: "listing tomcat webapps"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]