rohit nek

Greenhorn
+ Follow
since Jan 23, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rohit nek

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);
request.setAttribute(Globals.ERROR_KEY,messages);
response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
%>

<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
7 years ago
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

Struts-config.xml
--------------------
<message-resources parameter="ApplicationResources" null="false"/>

I have the following files in web-inf/classess
ApplicationResources_tr.properties
ApplicationResources_ja.properties
ApplicationResources_pl.properties
ApplicationResources_hu.properties
ApplicationResources_ru.properties
ApplicationResources_es.properties
ApplicationResources_en.properties

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.
7 years ago