Problem with response.sendredirect
I have taken over support of a system with several JSP forms and reports. 1 of them has code in it using the response.sendredirect method. This method works fine most of the time. However in the parameter of the method are quite a few strings being passed. When the strings stay short enough the redirect works fine. However, when the total length of the parameter gets too long, the form no longer works properly.
I have tried to implement a try/catch, but it hasn't helped find the problem.
Is there a limitation on the size of the parameter for the redirect?
Is there a different method that should be used here?
Here is the code:
response.sendRedirect("/CustomReport/frmShopFloorEntry.jsp?ACTION=AFTERSUBMIT&SCOUNT="+ numRecords+"&START_TIME="+startTime+"&END_TIME="+e ndTime+"&BEGIN_DATE="+beginDate+"&SUPERDATE="+supe rvisorDate+"&ACODES="+absenceCodes+"&TCODES="+work Codes+"&TCID="+workIDs+"&ABSID="+absenceIDs+"&WBT_ ID="+teamID+"&INDIRECTID="+indirectIDs+"&INDIRECT= "+indirectNames+"&WBT_ID_label="+teamName+"&SHIFT= "+shift+"F");
Thanks for your help,
Mike
|