Dec 19, 2005 #1 liorza Programmer Mar 3, 2004 27 US Hi all, I have a web app that is using struts and websphere. How can I configure it to render my own custom html pages for the 404 and 500 errors? Should I update the web.xml? Can some one post an example? Thanks, Lior
Hi all, I have a web app that is using struts and websphere. How can I configure it to render my own custom html pages for the 404 and 500 errors? Should I update the web.xml? Can some one post an example? Thanks, Lior
Jan 16, 2006 #2 rekenaar Technical User Feb 16, 2005 38 ZA That is correct, you just update the web.xml. Here is an example of what you add: Code: <error-page> <error-code>404</error-code> <location>/web/404.jsp</location> </error-page> Upvote 0 Downvote
That is correct, you just update the web.xml. Here is an example of what you add: Code: <error-page> <error-code>404</error-code> <location>/web/404.jsp</location> </error-page>
Jan 16, 2006 Thread starter #3 liorza Programmer Mar 3, 2004 27 US Thanks rekenaar, That is what we ended up doing. It works Lior Upvote 0 Downvote