(Refer to Figure 6)
SaveChangeplan.jsp <% @ page contenttype = "text / html; charset = GB2312" Language = "java" import = "java.sql. *"%>
Integer.Parseint (SY2); INT ISM2 = INTEGER.PARSEINT (SM2); // Calculate the second month INT Y = ISY2 -ISY-1; int ym = y * 12; int mm = 12-ISM 1 ISM2; ALL = YM mm; // calculate the first month INT style = ISY-2003; Stallm = STY * 12 ISM-1; // calculate the third month INT endy = 2011-isy2 ; Endallm = Endy * 12 12 -ism2; / ** End ** /} catch (EXCEPTION EX) {system.out.print (E.getMessage ());} try {// call The Updateplan method of the controller, // If the modification is successfully navigated to the Jindubiao.Jsp page, that is, the first page of the progress bar Planc.Updateplan (IV, Proname, Stallm ", Endallm ", All ", Dates " " , Datee "" "; response.sendredirect (" ./ jindubiao.jsp ");} Catch (Exception EX) {// Call the UpdatePlan method of the controller, if the modification is unsuccessful is also // Description Error and wait to navigate to Jindubiao. The JSP page, that is, the first page of the progress bar. OUT .print ("Save Error, please contact the System Administrator or Developer"); Out.print ("");}%> Body> html> (Table 1)