Re: File paths within the EAR file

2006-02-17 Thread Paul McMahan
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

Re: File paths within the EAR file

2006-02-17 Thread Aaron Mulder
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

File paths within the EAR file

2006-02-17 Thread yskim
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