Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Beginners Corner] - ResourceBundle in SessionBean?

scott.stark@jboss.org

2007-05-03


Hi all,

im rather new to J2EE and want to implement (at first) a session bean (stateful) that needs to call a 3rd-Party framework.

This framework uses ResourceBundle.getBundle(...) to read some property-Files. At this point I get an error "Can't find bundle for base name xyz.properties ...".

I've tried to put this file into the root of my .jar, then META-INF, then WEB-INF(/classes) (although i dont have anything to do with web).

Nothing works :(

Can somebody help me? Where do I have to put this .properties file?

greetings,
Karsten

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042759#4042759

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042759
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.