Hello,

I'm using Tomcat-5.0.28. In my web.xml I have the following:

<jsp-config>
  <jsp-property-group>
    <url-pattern>/WEB-INF/pages/*</url-pattern>
    <el-ignored>true</el-ignored>
    <page-encoding>windows-1254</page-encoding>
    <scripting-invalid>true</scripting-invalid>
    <is-xml>false</is-xml>
    <include-prelude>/WEB-INF/pages/templ/prelude.jspf</include-prelude>
    <include-coda>/WEB-INF/pages/templ/coda.jspf</include-coda>
  </jsp-property-group>
</jsp-config>

My *.jsp pages are in WEB-INF/pages directory and there are some
servlets that performs controller stuff and forwards requests (with
RequestDispatcher.forward) to those pages. My aim is to avoid using:

<%@ page contentType="text/html; charset=windows-1254" %>

in each JSP. For some reason this doesn't work. I always get response header:

Content-Type: text/html;charset=ISO-8859-1

I played with <include-prelude> and <include-coda> values (like
entering non-existent paths) and I'm sure Tomcat doesn't take the
configuration directives above.

What can be the problem?

-- 
/tb.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to