[ 
http://issues.apache.org/struts/browse/SHALE-250?page=comments#action_37960 ] 
            
Gary VanMatre commented on SHALE-250:
-------------------------------------


I think this is a browser issue/feature.  If you are using IE, the error page 
has to be greater than 512k to override the "Show Friendly HTTP Error".  This 
is not true for mozilla.  I found a pretty good article on this 
(http://www.velocityreviews.com/forums/t142707-tomcat-404-custom-error.html).

Please verify that the "Show Friendly HTTP Error" is not the problem.

> Custom Error Page doesn't work when used with Clay
> --------------------------------------------------
>
>                 Key: SHALE-250
>                 URL: http://issues.apache.org/struts/browse/SHALE-250
>             Project: Shale
>          Issue Type: Bug
>          Components: Clay
>    Affects Versions: 1.0.3-SNAPSHOT
>         Environment: jboss4.0.1sp1
>            Reporter: lily
>
> If the cutom error page defined in web.xml ends with suffixes that match clay 
> template suffixes, it can't display.
> Maybe it's because ClayViewHandlerCommand doesn't execute so that the request 
> attribute Globals.CLAY_FULL_VIEW_SUFFIX can't be set when web server 
> redirects to  custom error page.
> If My custom error page is defined like this:
>  <servlet-mapping>
>     <servlet-name>faces</servlet-name>
>     <url-pattern>*.html</url-pattern>
>   </servlet-mapping>
>     <servlet-mapping>
>     <servlet-name>faces</servlet-name>
>     <url-pattern>*.xml</url-pattern>
>   </servlet-mapping>
>    
>    <error-code>404</error-code>
>     <location>/error.jsp</location>
>   </error-page>
> The error page can display, but if I replace the error.jsp with 
> "/error.html", it can't  disply

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to