This method throws
java.lang.IllegalStateException: Cannot forward after response has been committed
and I am unable to spot th
You should add return statement while you are forwarding or redirecting the flow.
Example:
if forwardind,
request.getRequestDispatcher("/abs.jsp").forward(request, response); return;
if redirecting,
response.sendRedirect(roundTripURI); return;