Ulf Liedén wrote:
when my struts application receives form entries containing french character (i.e. é è) they are converted to something else, like é è.This has probably something to do with how the request is encoded. I've tried to add ServletActionContext.getRequest().setCharacterEncoding("UTF-8"); to the action class validate() method, and <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> to the JSP, but this doesn't help. Any suggestions?
If you are using Tomcat, you need to update $CATALINA_HOME/conf/server.xml More specifically, you need to add the URIEncoding="UTF-8" to the Connector element for port 80 or 8080. Cheers, Manos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

