This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Following is my JSP code: <%@page import =" java.util.*" %> <%! String language; String country; %> <% try { language = new String("fr"); country = new String("FR"); Locale currentLocale; ResourceBundle messages; currentLocale = new Locale(language, country); messages = ResourceBundle.getBundle("MessagesBundle",currentLocale);
%> <html> <body> <h2>Kumar</h2> </body> </html> If i try executing the page in IE i am getting following error and one more thing is all the resource bundle files are residing in the directory. Error : java.util.MissingResourceException: can't find resource for MessagesBundle_fr_FR Any one can suggest how it has to be done. Thanks Venky
venky
Sharang Thorat
Greenhorn
Joined: Dec 07, 2000
Posts: 21
posted
0
Hi if properties file are in the classpath then you will not get exception. In case you r using tomcat keep properties file in already set classpath or change it. regards sharang
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.