This would happen if you try to forward the request twice.
Say you are forwarding to page result.jsp like this
getServletConfig().getServletContext().getRequestDispatcher( "/result.jsp").forward(request,response);
if you have the same call down the line, BINGO.. you are forwarding it twice.. Have your variables to be sent multiple times but forward them at once.