1 Reply Latest reply on Jan 11, 2004 2:13 AM by Stjepan Brbot

    JSP & charset

    Giorgos Newbie

      I have a trouble with the embeded tomcat. I have deployed a war into the webapps dir that includes all the of my jsp pages. My problem is that although I have used as default encoding IS0-8859-7 it is ignored. I have a single tomcat installation in another maachine and it responds fine. But in the case of the tomcat that is embeded in JBoss I the problem is still there.

      Can someone help on this.


        • 1. Re: JSP & charset
          Stjepan Brbot Newbie

          I hope you have defined in all of your JSPs:

          <%@ page language="java" contentType="text/html; charset=ISO-8859-7" %>

          Also there's one setting you can define in JAVA_OPTS for Java of JBoss and CATALINA_OPTS for embedded Tomcat:
          In JAVA_OPTS and CATALINA_OPTS add -Dfile.encoding=ISO-8859-2