Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2004

Tip: Looking for answers? Try searching our database.

listing tomcat webapps

Thread view: 
Praveen - 15 Jul 2004 23:50 GMT
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
Juha Laiho - 16 Jul 2004 21:27 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.
Signature

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)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.