Re: Where Do I Put This properties File (internationalization)
And at runtime, the file goes directly under WEB-INF/classes Srikanth Shenoy Author Struts Survival Guide: Basics to Best Practices J2EE Project Survival Guide Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On 03/05/2004 05:16 AM Caroline Jen wrote: And mvnplugin_mvnforum_MVNForumConfig is a properties file. Please advice regarding the directory in which this properties file is supposed to be. It goes in the same place as your *.java code files. As you have it, there is no directory for it, so it would go in the root directory of your source code. If it was called mvnplugin.mvnforum.MVNForumConfig, then you would put it in your source code under the mnvplugin/mvnforum/ directory. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where Do I Put This properties File (internationalization)
On 03/05/2004 05:16 AM Caroline Jen wrote: And mvnplugin_mvnforum_MVNForumConfig is a properties file. Please advice regarding the directory in which this properties file is supposed to be. It goes in the same place as your *.java code files. As you have it, there is no directory for it, so it would go in the root directory of your source code. If it was called mvnplugin.mvnforum.MVNForumConfig, then you would put it in your source code under the mnvplugin/mvnforum/ directory. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where Do I Put This properties File (internationalization)
I am using Struts and internationalization. I have code like: private static final String OPTION_FILE_NAME = mvnplugin_mvnforum_MVNForumConfig; static { ResourceBundle res = ResourceBundle.getBundle(OPTION_FILE_NAME); } And mvnplugin_mvnforum_MVNForumConfig is a properties file. Please advice regarding the directory in which this properties file is supposed to be. __ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]