Fixed problem with ServletException