Hello everyone! I'm trying to do a web application with Spring. I deploy my application to JBoss. I have a business layer bean ResourceService. This bean has a setResourceTypesStorage(String fileNameUri) method. I have a declaration for this bean, like:
| <property name="resourceTypesStorage"> | <value>file:/WEB-INF/resources.owl</value> | </property> | This file contains configuration data, required by my bean to do it's job. Inside setResourceTypesStorage(String fileNameUri) method I call a method to read file contents by it's URI. This setter fails for JBoss is setting root directory to bin/. My questions are how to provide my bean with it's configuration file and what is "The Right Way" to do that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923308#3923308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923308 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
