> put the properties file in the conf/default directory.......
> If ur properties file name is xxx_en_US.properties
strange... application resource files has to be put to server's conf
directory... servlet properties has to be put into jBoss conf... strange.
Tomcat's example contains servlet property file in servlet classpath
directory and this looks full of logic.
Continuing this logic we should place servlet's properties into classes
directory of war file, shouldn't we?
Looking at jBoss/tmp directory I see that property file was extracted from
ear and then from war and put into corresponding directory. But...
ResourceBundle.getBundle() can't find it. I don't know why.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mikhail Akopov
> Sent: Tuesday, May 29, 2001 2:28 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] .properties location?
>
>
> Sorry for bothering you by repetitive question but I still can't resolve a
> very simple problem:
>
> I am going to make localization. Where should PagerServlet.properties be
> situated? Documentation says "put it into classpath directory". Tomcat's
> example contains *.properties in WEB-INF/classes, and source file (where
> ResourceBundle.getBundle() is called) is at the same directory.
>
> Well, I tried different directories: WEB-INF, WEB-INF/classes, directory
> of
> source file etc. - nothing helped
>
> Each time I got
> [EmbeddedTomcat] ===> java.util.MissingResourceException: Can't find
bundle
> for base name PagerServlet, locale ru_RU
>
> Configuration:
> jdk1.3.0_02 ,
> jBoss 2.2.1 + embedded Tomcat 3.2.1,
> Apache1.3,
> mySQL 3.23.25-beta-win (just for testing of 'howto')
>
> Vale! - Mikhail Akopov
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user