InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.1: Developing servlets >
4.2.1.3: Servlet content, examples, and samples >
4.2.1.3.8: Obtaining the Web application classpath from within a servlet

4.2.1.3.8: Obtaining the Web application classpath from within a servlet

To have a servlet or JSP-generated servlet detect the classpath of the Web application to which it belongs, get the

com.ibm.websphere.servlet.application.classpath
attribute from the ServletContext.

Go to previous article: Serving all files from application servers Go to next article: Developing JSP files

 

 
Go to previous article: Serving all files from application servers Go to next article: Developing JSP files