Fix for catch (Exception e), and change to catch blocks for IOException and ServletException. What should be the case to catch some kind of exceptions? I think we should catch exeptions which are defined in method declaration.