jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -
if(insertlen==6) { nextpag="&whichpage=/jsp/dealer/callcentre/careprocess.jsp" redirectpath += actionpath+nextpag; response.sendredirect(redirectpath); return; } else { nextpag="&whichpage=/jsp/dealer/callcentre/complaintfeedback.jsp"; response.sendredirect(redirectpath); }
here when execute above, got following error :
sending redirect forbidden after response has been committed
may know why happening?
Comments
Post a Comment