jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"jBoss folders in classpath?" To view the discussion, visit: http://community.jboss.org/message/545103#545103 -------------------------------------------------------------- > Bruno Melloni wrote: > > > I thought that server/<enviroment>/conf and server/<enviroment>/lib were > among them, but the application is having trouble reading the file when I use > specificy it as being at "classpath:<filename>.xml". > > If you have placed a xyz.xml file in JBOSS_HOME/server/< servername>/conf folder (which is by default in the classpath) then in your java code, you can do this: InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("xyz.xml"); -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/545103#545103] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
