Thursday, March 25, 2010

JSP request.setCharacterEncoding

Today I just find that what I have inserted into database (Chinese characters) is scrambled code.

Finally, the solution is
request.setCharacterEncoding("utf8");

JavaServer Page Implicit Objects

http://www.gulland.com/courses/JavaServerPages/jsp_objects.jsp

No comments: