Trying to build error handling into my JSPs.

I've already created the error JSP page, but now need to configure the web.xml file of my application.

however, JBoss throws up an error when loading? Just seems to stall on the xml.

this is the xml snippet it seems to stall on:

<client>
<error-page>
<error-code>500</error-code>
<location>/errors/500.jsp</location>
</error-page>
</client>


any one got any ideas?