 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Praveen Guest
|
Posted: Thu Jul 15, 2004 10:50 pm Post subject: listing tomcat webapps |
|
|
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.
Thanks,
Praveen
|
|
| Back to top |
|
 |
Juha Laiho Guest
|
Posted: Fri Jul 16, 2004 8:27 pm Post subject: Re: listing tomcat webapps |
|
|
[email]praveenk.s (AT) gmail (DOT) com[/email] (Praveen) said:
| Quote: | 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)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|