freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于jsp(java)學(xué)生成績管理系統(tǒng)的設(shè)計(jì)和實(shí)現(xiàn)-資料下載頁

2025-05-07 19:46本頁面
  

【正文】 )。 (/HTML)。 con=con++。 } } if(con==0){ try { if((暫時(shí)提交 )){ (tid, o, 1)。 }else{ (tid, o, 2)。 } } catch (Exception e) { // TODO Autogenerated catch block ()。 } (HTML)。 ( HEADTITLEA Servlet/TITLE/HEAD)。 ( BODY bgcolor=8dd8f8)。 ( img src=image/ font size=6 color=red 提交成功! /font )。 ( /BODY)。 (/HTML)。 } ()。 ()。 } 暫時(shí)提交以后,成績將不會在已提交頁面中顯示,而且可以隨時(shí)修改成績,最終提交以后就不能再修改成績,最終成績將在已提交課程中顯示。 另外,本系統(tǒng)為了方便教師保存查閱成績信息,將 提供導(dǎo)出 excel表的功能,教師可以自由下載。 圖 最終成績 信息查詢 為了方便教師 本人開設(shè)課程,本系統(tǒng)不但可以查詢教師本人的詳細(xì)信息以及開設(shè)課程所有信息,還包括選擇自己開設(shè)課程的學(xué)生,以及其他教師的開設(shè)課程的詳細(xì)信息,以免發(fā)生沖突。 圖 教師個(gè)人信息查詢頁面 public Vector SelectSelf(String tid,String con)throws Exception{ Vector all=new Vector()。 String sql=SELECT ,,t, from tc,course where = and =39。+tid+39。 。 if((1)){ sql=sql+ and !=39。239。 }else if((2)){ sql=sql+ and =39。239。 } Statement stmt=null。 DataBaseConnection dbc=null。 dbc=new DataBaseConnection()。 try{ stmt = ().createStatement()。 ResultSet rs = (sql)。 while(()) { Tc cou=new Tc()。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (cou)。 } ()。 ()。 } catch (Exception e) { throw new Exception(查詢中出現(xiàn)錯誤?。?! )。 } finally { ()。 } return all。 } 圖 其他教師開設(shè)課程查詢頁面 public Vector SelectScore(String tid)throws Exception{ Vector all=new Vector()。 String sql=SELECT , from tc,course where =39。+tid+39。 and =。 Statement stmt=null。 DataBaseConnection dbc=null。 dbc=new DataBaseConnection()。 try{ stmt = ().createStatement()。 ResultSet rs = (sql)。 while(()) { Tc cou=new Tc()。 (())。 (())。 (())。 (())。 (cou)。 } ()。 ()。 } catch (Exception e) { throw new Exception(查詢中出現(xiàn)錯誤?。。?)。 } finally { ()。 } return all。 } public String SelectTid(String o,int cteachno)throws Exception{ String sql=SELECT tid from tc where o=39。+o+39。 and cteachno=+cteachno+。 Statement stmt=null。 DataBaseConnection dbc=null。 dbc=new DataBaseConnection()。 String tid=null。 try{ stmt = ().createStatement()。 ResultSet rs = (sql)。 while(()) { tid=(tid)。 } ()。 ()。 } catch (Exception e) { throw new Exception(查詢中出現(xiàn)錯誤?。。?)。 } finally { ()。 } return tid。 } 密碼修改 public void Changecode(String tid,String tcode) throws Exception{ String sql=UPDATE teacher set tcode=39。+tcode+39。 WHERE tid=39。+tid+39。 Statement stmt=null。 DataBaseConnection dbc=null。 dbc=new DataBaseConnection()。 try{ stmt=().createStatement()。 (sql)。 ()。 }catch (Exception e){ throw new Exception(修改中出現(xiàn)錯誤?。。?)。 }finally { ()。 } } 學(xué)生 模塊功能 用戶名: 004 密碼: 123 以學(xué)生身份登錄 學(xué)生可以根據(jù)不同的查詢條件進(jìn)行查詢,從而決定自己選擇的課程。 查詢課程信息頁面 public class ScDAO { public Vector ScSelect(String o,String ame,double credit,int cteachno,String clocation,String ctime,String tname)throws Exception{ Vector all=new Vector()。 String sql=SELECT , , , , , , , , FROM tc,course,teacher where = and =。 if(o!=) { sql=sql+ and LIKE 39。%+o+%39。 } if(ame!=) { sql=sql+ and LIKE 39。%+ame+%39。 。 } if(credit!=0) { sql=sql+ and =39。+credit+39。 } if(cteachno!=0) { sql=sql+ and =39。+cteachno+39。 。 } if(clocation!=) { sql=sql+ and LIKE 39。%+clocation+%39。 。 } if(ctime!=) { sql=sql+ and LIKE 39。%+ctime+%39。 。 } if(tname!=) { sql=sql+ and LIKE 39。%+tname+%39。 。 } sql=sql+。 Statement stmt=null。 DataBaseConnection dbc=null。 dbc=new DataBaseConnection()。 try{ stmt = ().createStatement()。 ResultSet rs = (sql)。 while(()) { Tc cou=new Tc()。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (())。 (cou)。 } ()。 ()。 } catch (Exception e) { throw new Exception(查詢中出現(xiàn)錯誤?。?! )。 } finally { ()。 } return all。 } 此處可以看到已經(jīng)選擇的課程的信息 圖 已選課程頁面 然后可以根據(jù)自己的情況選擇新的課程 圖 提交課程頁面 圖 選課成功 public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doPost(request,response)。 } public void doAdd(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { (text/html)。 (utf8)。 (utf8)。 PrintWriter out=()。 String sid=(sid)。 String o=(o)。 String rcteachno=(cteachno)。 int cteachno=(rcteachno)。 double credit=0。 CourseDAO cdao=new CourseDAO()。 TcDAO tcdao=new TcDAO()。 ScDAO scdao=new ScDAO()。 Vector vct1 = null。 String tid=null。 String ctime=null。 boolean cancho=false。 try { (%%%%%%%%%%%)。 vct1=(o, , 0)。 tid=(o,cteachno)。 ctime=(o, cteachno)。 cancho=(sid, ctime)。 (cancho)。 } catch (Exception e1) { ()。 } if(()!=0) { Course cou=(Course)(0)。 credit=()。 } if(cancho==false) { try { // (^^^^^^^^^^^^^^^^)。 (sid, o,tid,credit)。 ($$$$$$$$$$$)。 (tid, o)。 } catch (Exception e) { } ()。 }else { (HTML)。 ( HEADTITLEA Servlet/TITLE/HEAD)。 ( BODY bgcolor=8dd8f8)。 ( img src=image/ font size=6 color=red 提交成功!??! /font )。 ( /BODY)。 (/HTML)。 } ()。 ()。 } 可以對已經(jīng)選擇的課程進(jìn)行刪除操作 圖 刪除課程頁面 點(diǎn)擊提交刪除選擇的課程,可以同時(shí)刪除多門課程。刪除以后還可以重新選擇此門課程,不必?fù)?dān)心刪除錯誤。 圖 刪除成功 此外,如果此處
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1