users@glassfish.java.net

Re: Configuring default 404 page for Glassfish v3

From: <forums_at_java.net>
Date: Sat, 10 Sep 2011 02:06:41 -0500 (CDT)

Hi Amy, first, thanks for your answer.

I tried:

<error-page>
        <error-code>404</error-code>
        <location>/lrms/user/404_code.jsp</location>
</error-page>
<error-page>
        <error-code>503</error-code>
        <location>/user/404_code.jsp</location>
 </error-page>

to see which one works, but neither worked. Do you have any other idea?

By the way, my application root is
/opt/sun-glassfish/glassfish/domains/domain1/applications/lrms/ right? I
wasn't sure of it, that's why I tried both /lrms/user/404_code.jsp and
/user/404_code.jsp.

Deniz


--
[Message sent by forum member 'lamostreta']
View Post: http://forums.java.net/node/841369