dev@glassfish.java.net

Re[2]: error-page encoding problem

From: Dmitry Mozheyko <mozheyko_d_at_mail.ru>
Date: Thu, 07 Dec 2006 08:29:32 +0300

-----Original Message-----
From: Jan Luehe <Jan.Luehe_at_Sun.COM>
To: dev_at_glassfish.dev.java.net
Date: Wed, 06 Dec 2006 09:41:47 -0800
Subject: Re: error-page encoding problem

>
> Hi Dmitry,
>
> Dmitry Mozheyko wrote On 12/06/06 02:54,:
>
> >Hi all!
> >I use glassfish-v2-b27 and i need to custom error page
> >web.xml:
> >
> >
>
> there is no b27 for GlassFish v2 (as of yet), the latest promoted build
> is b26.
>

I use lastest nightly build.


> I had filed
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=815
>
> to address an issue similar to yours, which was fixed in b23.
>
> I will modify the test case slightly to see if the fix also addresses
> your issue.
>
> Please stay tuned.
>
>
> Jan
>
> >...
> > <error-page>
> > <exception-type>java.lang.Throwable</exception-type>
> > <location>/error.jsp</location>
> > </error-page>
> > <error-page>
> > <error-code>403</error-code>
> > <location>/error403.jsp</location>
> > </error-page>
> > <error-page>
> > <error-code>404</error-code>
> > <location>/error404.jsp</location>
> > </error-page>
> >...
> >
> >
> >
> >Both error403.jsp and error404.jsp pages correctly showing UTF-8 symbols, but error.jsp:
> >
> ><%_at_page contentType="text/html"%>
> ><%_at_page pageEncoding="UTF-8"%>
> ><jsp:include page="jspf/header.jsp" />
> ><b>Ошибка:</b><br />
> ><%=((Throwable)request.getAttribute("javax.servlet.error.exception")).toString()%><br />
> ><button onclick="goback()">Назад</button>
> ><jsp:include page="jspf/footer.jsp" />
> >
> >
> >
> >Show '?' signes instead russian symbols.
> >
> >How to fix it?
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> >For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>