I've done it , but still I can see only "??????". It happens when the .properties file is not with "latin" letters but with encoded with native2ascii.
the most instresting part is that the very first page of the application is OK, the ???? issue starts after first <c:redirect>. ----- Original Message ----- From: "Priha Marketta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 23, 2004 16:23 Subject: Re: Output encoding of JSP pages Dima, For some reason I can't find the link to reply to the mailing list directly so would you mind sharing this answer with others by copying it to the mailing list. I struggled with the same encoding problem. I have two JSP pages (file1.jsp and file2.jsp) both having a definition: <[EMAIL PROTECTED] contentType="text/html;charset=UTF-8" language="java" %> if I wrote in file1.jsp <jsp:include page="file2.jsp" /> the UTF-8 encoding worked just fine but if I wrote in file1.jsp <c:import url="file2.jsp" /> the UTF-8 encoding didn't work Then I found the answer inhere http://www.mail-archive.com/[EMAIL PROTECTED]/msg05218.htm l and I added to my import <c:import url="file2.jsp" charEncoding="UTF-8" /> and now the encoding works also with c:import (I read the JSTL spec again but really couldn't figure out do I really have to have the encoding defined three times but who cares) Marketta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
