Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

MessageResources are not loaded for three languages, japanese, Turkish, polish  RSS feed

Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a welcome page and if there is any error in the entered data, the same page will be displayed along with errors message using struts messageresources. I have resource bundles in 7 or 8 languages. The Error message is getting displayed for all other langusges except for the three langs i.e Japanese, Turkish, Polish

<message-resources parameter="ApplicationResources" null="false"/>

I have the following files in web-inf/classess

Please suggest me what could be problem here? How can I resolve this. This is very urgent for me. ANy idea is very much appreciated.
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be that the properties file for those three languages are using some symbols which are creating a conflict.

Komal Renu
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know ..

What kind of an error/issue your are getting for Japanese, Turkish, Polish language ?

Is any struts error message is been displayed ??
default value from the properties file, is been displayed ???
rohit nek
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a welcome.jsp and error.jsp

In error.jsp, I have the follwoing code
<%@page import="org.apache.struts.action.ActionMessage" %>
<%@page import="org.apache.struts.action.ActionMessages" %>
<%@page import="org.apache.struts.Globals" %>
ActionMessage error= new ActionMessage("welcomeError");
ActionMessages messages = new ActionMessages();
messages.add("welcomeError", error);

<jsp:include page="welcome.jsp" />

in welcome.jsp, I am using the tag <html:errors/> to display any error message from the server side.

This is working for other languages except for Japanese, turkish and polish

In other languages, I am getting the error message in welcome.jsp. But for these three langs, I am getting white blank page both in IE, firefox
I'm not sure if I approve of this interruption. But this tiny ad checks out:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!