Hello!

I can't  understand how works directive error-page in web.xml for
jsps.

I added following in web.xml:

  <error-page>
        <exception-type>java.lang.NullPointerException</exception-type>
        <location>/is/errorpge.jsp</location>
      </error-page>

I case of exception IE says that page is not found, i.e. there ie no 
redirect to error page.


If I add page errorPage = ..  to .jsp file, all work OK.

Could someone explain me what I'm doing wrong ?
Do I need to add errorPage to every jsp?
I'd like to write this in web.xml :-)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to