Problem with i18n:jsp,struts,utf-8: "
- Jsp: add and in : - add <%@page language="java" pageEncoding="utf8" contentType="text/html; charset=UTF8"%> and in <header>: <meta equiv="Content-Type" content="text/html; charset=UTF-8"> <header><meta equiv="Content-Type" content="text/html; charset=UTF-8">
- Tomcat Catalina.bat: add set JAVA_OPTS=-Dfile.encoding=UTF-8 to interpret data from the db correctly.
- Web.xml: add a filter as in http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n.html to make POSTs send correctly encoded characters."
3 ways to level up your studying with NotebookLM
10 hours ago
No comments:
Post a Comment