How get WEB-INF folder path in java JAX-WS app

1.9k views Asked by At

I have a java webservice application with java bean's. How i can determine full path to file in WEB-INF directory.

1

There are 1 answers

2
Sumit Bisht On

Why do you need this for ? One way to do this is from your jsp/servlet through getServletContext().getResourceAsStream("web-app/WEB-INF/...") Also, if you are trying to use a .wsdl file on a client, you are better off specifying the uri of your server rather than the physical address.