-
1. Re: XML Application File Not Found
digitalwarrior Mar 17, 2003 12:49 PM (in response to digitalwarrior)this.getClass().getClassLoader().getResource("SubGPUs.xml").getFile()
This will find the file in the root of the WAR file and return the path. This works, but I still shouldn't have to explicitly make the application look inside itself like this.
In the previous version of JBoss I had no problems with this, I put the file in the web-inf/classes directory and it found it.
The version I'm using is Jboss-3.0.4_Tomcat-4.1.12.
If anyone has any other suggestions, please let me know. -
2. Re: XML Application File Not Found
digitalwarrior Mar 17, 2003 12:56 PM (in response to digitalwarrior)this.getClass().getClassLoader().getResource("SubGPUs.xml").getFile()
This will find the file in the root of the WAR file and return the path. This works, but I still shouldn't have to explicitly make the application look inside itself like this.
In the previous version of JBoss I had no problems with this, I put the file in the web-inf/classes directory and it found it.
The version I'm using is Jboss-3.0.4_Tomcat-4.1.12.
If anyone has any other suggestions, please let me know.