Hi Deepth,

I don't think there currently is any way to list all servlets and JSP
compiled and contained in a web app. web.xml will only show you what has
been deployed, not what exists. Also, there is no standard place you can
look to find pre-compiled JSP.

What might work is using the ServletContext object to get a listing of
all the resources in the web app, e.g. ServletContext
getResourcePaths("/"). Even if the application is deployed via a WAR you
can use this method.

Cheers,

Jayson Falkner
[EMAIL PROTECTED]

Deepth Dinesan wrote:
> Hi,
>
> Is there a way by which I can know all the servlets pre compiled from JSPs contained 
>in a war file.
>
> I can find *servlets* by looking at web.xml but how do I know abt those servlets 
>that are precompiled from JSPs.
>
> Thanks
> Deepth Dinesan
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to