Thanks Tyson, yes that is what i'm doing right now. But the problem is that when i changed (for example) 403.jsp into openRate.html which is available in my struts.xml mapping. the result is blank page! i can't do direct calling of the jsp like /pages/openRate.jsp because it must go through my action for regular processing for data collection. Any syntax suggestion mate?

Tyson Cung wrote:
Hi Nelson

Check the web.xml for error-page tag and change the location page accordingly. For example:

<error-page>
        <error-code>500</error-code>
        <location>/error.jsp</location>
    </error-page>
    <error-page>
        <error-code>400</error-code>
        <location>/index.jsp</location>
    </error-page>
    <error-page>
        <error-code>403</error-code>
        <location>/403.jsp</location>
    </error-page>
    <error-page>
        <error-code>404</error-code>
        <location>/index.jsp</location>
    </error-page>

Regards
Tyson

On Wed, Nov 18, 2009 at 5:14 PM, Nelson Biasura <nelson.bias...@aurisoftsys.com <mailto:nelson.bias...@aurisoftsys.com>> wrote:

    Hello guys, I want to redirect users if in case there are errors
    encountered or if the URL
    they entered in not available in struts.xml mapping. How can i
    configure it appfuse?

    Thanks,
    Nelson

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
    <mailto:users-unsubscr...@appfuse.dev.java.net>
    For additional commands, e-mail: users-h...@appfuse.dev.java.net
    <mailto:users-h...@appfuse.dev.java.net>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to