on 10-14-2008 6:18 AM
I have developed JSP Struts Polish Application in UTF-8 encoding.
Application interacts with SAP for polish data .I am able to insert the data into SAP from jsp application running on tomcat.
Application which is working on windows version of polish system (windows XP )is not working on Linux System.
Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.
Any advice to make the application work on both windows and Linux.
Regards,
Raghu
Could you please post some code - it´s hard to find the problem without knowing anything about your app
reagards
franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no major configurations to the code.
This is working perfectly for JSP application running on Windows System.
I am able to fill Polich data in JSP page and save to SAP .
Polish Data is also retrived properly.
Problem is only when the same application deployed in tomcat server on Linus system.
JSP
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%
request.setCharacterEncoding("UTF-8");
%>
-
_Struts Actionform
public void reset(ActionMapping mapping, HttpServletRequest request) {
super.reset(mapping, request);
//To reset all input fields
try {
request.setCharacterEncoding("UTF-8");
}catch (UnsupportedEncodingException ex) {
}
}// end of reset()
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.