I didn't add <error-code>, <exception-type>. So, i feel that all the errors or exceptions happening in my application will redirect to error.jsp.
But this is not working.
<error-code> and <exception-type> both are optional but you need to provide atleast one of them. As per DTD of web.xml
<!ELEMENT error-page ((error-code | exception-type), location)> [ September 18, 2008: Message edited by: Satya Maheshwari ]