Hi,
Sorry if my question looks stupid. I'm relativly new to the J2EE environment. (i have lot of more experience with Microsoft world).
I have created 1 servlet , and 1 Java application (that should be deployed via webstart).
Then i have created an Entreprise Application project (MyApplication_EAR) that refers to the servlet (MyServlet_WEB) and the Java application project (that generates MyTestApp.jar)
When i deploy the EAR on the server , i see that the servlet war file is deployed in :
..\j2ee\cluster\apps\sap.com\MyApplication_EAR\servlet_jsp\MyServlet_WEB
I see also that the Java application 's jar is deployed in :
...\j2ee\cluster\apps\sap.com\MyApplication_EAR\app_libraries_container
I need in my Servlet to have an URL pointing on the MyTestApp.jar which is int he app_libraries_container.
How can i find this URL?
thanks in advance for your help.
Jean-Philippe.
Hi,
I assume that you need some resource from MyTestApp.jar in your servlet. You can obtain that with
getClass().getResource(resourcePath)
in your servlet class.
HTH!
-- Vladimir
Add a comment