Hi I am using Apache Tomcat 4.1 server. I want to run internationalization code. But it is saying that it don't found that File of Resource File. May I know where to place this Resoource File in Tomcat? Is there any configurations in XML File for locating configuration file on server? I am currently using this sample code -- <%@ page language = "java" import = "java.util.*,java.io.*" %> <% String language; String country;
language = new String("fr"); country = new String("FR");
Locale currentLocale; ResourceBundle messages; currentLocale = new Locale(language, country); messages = ResourceBundle.getBundle("MessagesBundle", currentLocale); out.println(messages.getString("greetings")); out.println(messages.getString("inquiry")); out.println(messages.getString("farewell")); %> Is any body knowing this problem ?
Joined: Sep 07, 2002
Yes I got the solution for this. When I put these methods in Bean & accessing it though JSP, it works fine.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com