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

    JSP & charset

    gkanel

      hi,
      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.

      Regards
      George

        • 1. Re: JSP & charset
          sbrbot

          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