You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Lam <jo...@moni-media.net> on 2007/11/22 12:11:03 UTC

[S2] error 404 + sitemesh template

I set this in web.xml

    <error-page>
        <error-code>404</error-code>
        <location>/error404.jsp</location>
    </error-page>


but the output doesnt come with the site template (using sitemesh)
anyone know why and how to solve this??

btw, any chance to make error 404 to call an action ?
like

    <error-page>
        <error-code>404</error-code>
        <location>/custom.action</location>
    </error-page>

seems tomcat only calls an existing file (e.g. a jsp file) or servlet.

thank you very much

Joe

-- 
View this message in context: http://www.nabble.com/-S2--error-404-%2B-sitemesh-template-tf4855736.html#a13894878
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org