Hi, I assume you are trying to access the properties file from a servlet
since its name is passed as a servlet init-param. Depending on
what your end goal is there may be a standard servlet API that will
help you out. For example, from within your servlet you could use
getServletContext().get
So your web app is trying to refer to a file within the EAR? I'm not
sure there's a portable way to do this. If the file was within the
WAR it would be easy enough to load it as a relative path, and if was
in a JAR it would be possible to load it from the class loader -- I
think those would be be
The hot deployment is excellent for the automation of the deployment. But
we ran into the problem of inability to specify the file path of the
property files.
We have the file path information in the web.xml as shown below
initialize
com.web.someaction.InitializeServlet