Hello all,
First of all let me tell you that I'm new to Java. Now, I have been asked to get a resolution for a problem that we are facing. We are developing an application using JSF 1.2 with RichFaces 3.3.1 (I think!), which will be multilingual. We have different ..properties file for different languages. When we host our application on Tomcat 6.0.14 or lower, it doesn't crash if a key doesn't exist in the respective .properties file. However, it crashes in 6.0.15 or higher.
Let me elaborate with an example. Suppose there is a key named the_required_key. Ideally, this key must be present (along with its value) in every .properties file for every language but if the key is missing, the following behavior is observed:
6.0.14 OR LOWER
The label is displayed as ???the_required_key???
6.0.15 OR HIGHER
The application crashes.
Now what I want is that the application should not crash. Instead it should display the key as ???the_required_key??? In other words, I want to get the same functionality from Tomcat 6.0.15 (or higher) that I was getting from 6.0.14 (and lower).
Any ideas?