Problem solved... but i still have some doubts :p

This was my solution:
1. Remove this next lines of all JSPs (some had, others didn't)
       <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
       <META http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">

2. In web.xml added a CharsetFilter of Spring
        <filter>
                <filter-name>charsetFilter</filter-name>
        
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
                <init-param>
                        <param-name>encoding</param-name>
                        <param-value>ISO-8859-15</param-value>
                </init-param>   
        </filter>

And 3 (And here are my doubts) Added contentType into RequestProcessor of
struts in struts-config.xml
        <controller processorClass="org.apache.struts.action.RequestProcessor"
nocache="true" locale="false" contentType="text/html; charset=ISO-8859-15"/>

This last item confuses me... maybe i'm doing something wrong... However
this is not a Tomcat issue so i will not bore you more with this question.

Thank you all for your help!

Best Regards

João Simas
-- 
View this message in context: 
http://www.nabble.com/Tomcat-6---Problems-with-encoding-tp20193292p20209011.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to