This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Here, in case of IOException, the first 'catch' block will execute whereas in case of any other exception, the second 'catch' block will execute. Can we do the same thing in 'web.xml' ( Deployment Descriptor for any servlet )?? Suppose, I want to redirect the user to one.jsp if ArithmeticException occurs and redirect the user to two.jsp if any other exception occurs, how would I configure my 'web.xml'?