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

正文內(nèi)容

基于web架構(gòu)的學(xué)生信息管理系統(tǒng)的設(shè)計和實(shí)現(xiàn)-預(yù)覽頁

2025-01-08 09:32 上一頁面

下一頁面
 

【正文】 開發(fā)工具。 Tomcat 服務(wù)器是一個免費(fèi)的開放源代碼的 Web 應(yīng)用服務(wù)器。由 James Gosling 和同事們共同研發(fā),并在 1995 年正式推出。 Sun 公司對 Java 編程語言的解釋是: Java 編程語言是個簡單、 面向?qū)ο?、 分布式 、解釋性、健壯、安全與系統(tǒng)無關(guān)、可移植、高性能、 多線程 和動態(tài)的語言。 ORACLE 數(shù)據(jù)庫系統(tǒng) 是美國 ORACLE 公司(甲骨文)提供的以 分布式數(shù)據(jù)庫 為核心的一組軟件產(chǎn)品,是目前最流行的客戶 /服務(wù)器 (CLIENT/SERVER)或B/S 體系結(jié)構(gòu) 的數(shù)據(jù)庫之一。在傳統(tǒng)的網(wǎng)頁 HTML 文件( *.htm, *.html)中加入 Java 程序片段( Scriptlet)和 JSP 標(biāo)簽,就構(gòu)成了 JSP 網(wǎng)頁 java 程序片段可以操縱數(shù)據(jù)庫、重新定向網(wǎng)頁以及發(fā)送 Email 等,實(shí)現(xiàn)建立動態(tài)網(wǎng)站所需要的功能。插入的 Java 程序段可以操作數(shù)據(jù)庫、重新定向網(wǎng)頁等,以實(shí)現(xiàn)建立動態(tài)網(wǎng)頁所需要的功能。 JSP 具備了 Java 技術(shù)的簡單易用,完全的面向?qū)ο?,具有平臺無關(guān)性且安全可靠,主要面向因特網(wǎng)的所有特點(diǎn)。雖 然從 Struts 1 到 Struts 2 有著太大的變化,但是相對于 WebWork, Struts 2 的變化很小。這個框架遠(yuǎn)遠(yuǎn)超出了 Struts1 原有的設(shè)計思想,與原有的Struts1 關(guān)聯(lián)很少,使用了全新的設(shè)計思想。阻礙了人類經(jīng)濟(jì)的發(fā)展。 性能需求及運(yùn)行環(huán)境 整個系統(tǒng)應(yīng)當(dāng)操作簡便,界面友好,維護(hù)簡便。其運(yùn)行要求如下: 軟件環(huán)境: 客戶端: WindowsXP/Windows7Inter Explorer 等 服務(wù)器端 : Tomcat 數(shù)據(jù)庫:采用 Oracle 或 MySQL 數(shù)據(jù)庫 硬件環(huán)境: 服務(wù)器 CPU:PIII 500 以上,內(nèi)存: 512 以上 客戶機(jī) CPU:P200MMX 以上,內(nèi)存: 32M 以上 10 系統(tǒng)設(shè)計 系統(tǒng) 總體 設(shè)計分析 學(xué)生信息管理系統(tǒng)主要包括管理員和學(xué)生兩大模塊。具體的結(jié)構(gòu)圖如圖所示。具體的結(jié)構(gòu)圖如圖所示。具體的結(jié)構(gòu)圖如圖所示。管理員和學(xué)生身份登錄所能操作的功能有很大的區(qū)別。 JPanel p3 = null。 JPasswordField txtPwd = new JPasswordField(6)。 JButton btncz = new JButton(重置 )。 static int OK = 1。 Statement stmt = null。//連接數(shù)據(jù)庫 public void actionPerformed(ActionEvent e) { Object source = ()。// 用于判斷是否登錄成功 if (source == btnLogin) { if (().equals() || ().equals()) {// 判斷是否輸入了用戶名和密碼 (null, 登錄名和密碼不能為空! )。 pw = (pw).trim()。// 進(jìn)入管理員界面 } if (qxian == 1) { new StudentFrame()。 ()。 ()。 } else if (source == btnCancel) { (0)。 JButton btnDelete = new JButton(刪除 )。 JMenuBar mb = new JMenuBar()。 Connection con = null。 SSelect sst。 int j = 0。 while (()) { // 找出表中的記錄數(shù)賦給 i ((sno))。 ((sd))。 String[] columnNames = { 學(xué)號 , 姓名 , 年齡 , 性別 , 院系 }。 playerInfo[j][2] = (sa)。 } } catch (SQLException e) { ()。 (scroll)。 int nl = 0。 row = ()。 while (() amp。 nl = (sa)。 18 } } catch (SQLException e) { ()。)。// 刪除對應(yīng)的用戶表中的記錄 (null, 記錄刪除成功! )。 } } else { try { int rs1 = (delete from s where sno=39。 + mxh + 39。 new SM().display()。 int nl = 0。 row = ()。 } else { rs = (select * from s where sno=39。amp。 xb = (ss)。 } SAdd sadd = new SAdd(xb, yx)。 ( + nl)。 playerInfo = new Object[1][5]。)。 playerInfo[0][3] = (ss)。 (null, 學(xué)號不存在! )。 scroll = new JScrollPane(sTable)。 } if (() == 刪除 ) { ()。 } if (() == 顯示 ) { ()。 JButton btnDelete = new JButton(刪除 )。 JMenuBar mb = new JMenuBar()。 Connection con = null。 CSelect cst。 int j = 0。 while (()) {// 找出表中的記錄數(shù)賦給 i ((o))。 } } catch (SQLException e) { ()。 playerInfo[j][1] = ()。 } sTable = new JTable(playerInfo, columnNames)。 } ()。 int row = 1。 try { rs = (select * from c)。 kcm = ()。 } int i1 = 0。// 刪除數(shù)據(jù)庫中當(dāng)前被選中的記錄 (null, 記錄刪除成功! )。 } 23 } else { try { int rs1 = (delete from c where o=39。 ()。 String kcm = null。 if (row == 1) { (null, 請選擇要修改的記錄! )。 + mkch + 39。 j1 = row) {// 找出當(dāng)前被選中的記錄在數(shù)據(jù)庫中的對應(yīng) kch = (o)。 } } catch (SQLException e) { ()。 (kcm)。 } } public void select() {// 顯示某個查詢的結(jié)果 mkch = 。 + mkch + 39。 playerInfo[0][2] = (po)。 new CM(課程信息管理 ).display()。 (scroll)。 } if (() == 修改 ) { ()。 new CM(課程信息管理 ).display()。 JMenuBar mb = new JMenuBar()。 Connection con = null。 SCSelect scst。 ……..構(gòu)造方法 ……. public void display() {// 顯 示所有選課信息 int i = 0。 try { rs = (select * from sc)。 i++。 try { rs = (select * from sc order by sno)。 j++。 scroll = new JScrollPane(sTable)。 mscxh = 。 try { rs = stmt .executeQuery(select * from sc where sno=39。 playerInfo[j][1] = (o)。 } if (playerInfo[0][1] == null) { ()。 (sTable)。 ()。 JButton btnAlter = new JButton(修改成績 )。 JPanel p1 = new JPanel()。 Statement stmt = null。 int ii = 0。 int j = 0。 while (()) {// 找出表中的記錄數(shù)賦給 i ((sno))。 } } catch (SQLException e) { ()。 while (()) { playerInfo[j][0] = (sno)。 29 } } catch (SQLException e) { ()。 (scroll)。 String xxkch = null。 } else { int j1 = 0。)。 kcm = ()。 } GAdd gadd = new GAdd()。 (xxkch)。 } 30 } public void select() {// 顯示某個學(xué)生的成績查詢結(jié)果 int j = 0。 String[] columnNames = { 學(xué)號 , 課程名 , 成績 }。 while (()) { playerInfo[j][0] = (sno)。 } } catch (SQLException e) { ()。 } else { sTable = new JTable(playerInfo, columnNames)。 } } public void actionPerformed(ActionEvent e) { if (() == 修改 成績 ) { ()。 new GM(成績信息管理 ).display()。 JButton btnDisplay = new JButton(顯示 )。 JScrollPane scroll。 Object[][] playerInfo。 …………構(gòu)造方法省略 ……… public void display() {// 顯示所有用戶的基本信息 int i = 0。 try { rs = (select * from unpw where qx=1)。 32 } } catch (SQLException e) { ()。 while (()) { playerInfo[j][0] = (un)。 } sTable = new JTable(playerInfo, columnNames)。 } public void select() {// 顯示某個查詢的結(jié)果 myh = 。 + myh + 39。 } } catch (SQLException e) { ()。 } else { sTable = new JTable(playerInfo, columnNames)。 } 33 } public void actionPerformed(ActionEvent e) { if (() == 修改 ) { ()。 new PM(用戶信息管理 ).display()。 JButton btnOK = new JButton(確定 )。 ResultSet rs = null。//連接數(shù)據(jù)庫 class StudentMS extends JFrame {// 學(xué)生信息查看 JPanel p = new JPanel()。 JScrollPane scroll。 Object[][] playerInfo。 ……..構(gòu)造方法省略 …… public void display() {//顯示所有學(xué)生的基本信息 int i =
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1