tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Altuğ B. Altıntaş" <alt...@riskturk.com>
Subject Re: finding context's jar file
Date Fri, 15 Apr 2005 15:55:53 GMT
I found the answer

     String classpath = (String) request.getSession()
                    .getServletContext().getAttribute(
                            "org.apache.catalina.jsp_classpath");


Regards.


Altuğ B. Altıntaş wrote:

> I need to find which jar files are being used in one context,
>
> for example below code can give me some information about  
> sun.boot.class.path
>
>
> <html>
> <%
>   String classpath = System.getProperty("sun.boot.class.path");
>   out.println(" " + classpath);   %>
> </html>
>
>
>
> Is there anything like that :
>
> <html>
> <%
>   String classpath = System.getProperty("tomcat.context.class.path");
>   out.println(" " + classpath);   %>
> </html>
>
> Any idea ?
>
> Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

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


Mime
View raw message