Hi,
Is there a way by which you can list of all web applications deployed? I know
that if you go to
manager webapp, you will see list of deployed applications. I want to achieve
the same
functionality but using jsp pages.
I tried to understand the source of manager webapp but I could not f
sday, December 28, 2005 3:11 PM
Subject: Getting list of all deployed web applications
> Hi,
>
> Is there a way by which you can list of all web applications deployed? I
> know that if you go to
> manager webapp, you will see list of deployed applications. I want to achieve
; Take a look at
> http://java.sun.com/j2se/1.5.0/docs/api/
>
> Martin-
> - Original Message -
> From: "Dhaval Patel" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, December 28, 2005 3:11 PM
> Subject: Getting list of all deployed web applications
&
.
>
> Regards,
> Dhaval
>
> --- Martin Gainty <[EMAIL PROTECTED]> wrote:
>
>> If I'm not mistaken its an environment variable which can be obtained via
>> java.lang.System.getEnv("HTTP_HOST");
>> Take a look at
>> http://java.su
)it.next();
ObjectName cname = oi.getObjectName();
// Do something with it here
}
> Martin-
> -- Original Message -
> From: "Dhaval Patel" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" ; "Martin Gainty"
> <[EMAIL PROTECTED
t;Martin Gainty"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, December 28, 2005 5:21 PM
> Subject: Re: Getting list of all deployed web applications
>
>
>> Hi Martin,
>>
>> Thanks for reply but I am looking at something different.
>> System.getEnv(...)