sÃn, 18.07.2004 kl. 22.23 skrev Jason Lea:
> Olve SÃther Hansen wrote:
> 
> >Now I am saying false things. I thought my baseLayout.jsp had this
> >entry.. It didn't.
> >
> >So it is enough specifying 
> ><%@ page contentType="text/html; charset=UTF-8"%>
> >in the base tiles file if that architecture is used.
> >
> >  
> >
> I think it that should work.
> 
> But I think I ran into a problem when pre-compiling the JSP pages when 
> using the 2.3 spec.  If you don't pre-compile I think it should be ok.  
> If you do pre-compile, each JSP is passed to the compiler and the 
> compiler does not know the encoding, so it uses the default.  This is 
> why I ended up adding it to all pages.

I ended up using the directive for all jsp's containing non-ascii utf-8
characters.. 

Most messages are retrieved through the resource properties, but when I
am lazy, I write things directly in the jsp.

Thanks for the help!

-- 
Olve SÃther Hansen <[EMAIL PROTECTED]>
Systems developer - National english reading tests
Intermedia/Aksis - Unifob 
http://www.intermedia.uib.no



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

Reply via email to