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

正文內(nèi)容

j2ee系統(tǒng)架構(gòu)和程序設(shè)計(jì)課程設(shè)計(jì)實(shí)訓(xùn)項(xiàng)目——基于sshstrutsspringhibernate架構(gòu)的學(xué)生信息和課程信息管理系統(tǒng)(參考版)

2024-11-21 10:20本頁(yè)面
  

【正文】 44/52 頁(yè) /bean /beans 將 Spring 和 Hibernate 框架相互整合的配置定義 文件中的代碼示例 ?xml version= encoding=UTF8 ? !DOCTYPE beans PUBLIC //SPRING//DTD BEAN beans bean id=schoolDAO class= property name=sessionFactory ref bean=sessionFactory / /property /bean bean id=studentDAO class= property name=sessionFactory ref bean=sessionFactory / /property /bean bean id=courseDAO class= property name=sessionFactory ref bean=sessionFactory / /property /bean bean id=studentCourseDAO class= property name=sessionFactory ref bean=sessionFactory / /property /bean bean id=schoolCourseDAO class= property name=sessionFactory ref bean=sessionFactory / 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。 42/52 頁(yè) property name=schoolCourseDAO ref=schoolCourseDAO/property property name=courseDAO ref=courseDAO/property /bean bean name=/studentAction class= property name=studentDAO ref=studentDAO/property property name=schoolDAO ref=schoolDAO/property property name=studentCourseDAO ref=studentCourseDAO/property property name=courseDAO ref=courseDAO/property property name=schoolCourseDAO ref=schoolCourseDAO/property /bean bean name=/courseAction class= property name=courseDAO ref=courseDAO/property /bean /beans 與 Struts 和 Spring 相互整合的配置定義 ?xml version= encoding=UTF8? !DOCTYPE beans PUBLIC //SPRING//DTD BEAN//EN beans ! Transaction manager for a single Hibernate SessionFactory (alternative to JTA) ! Choose the dialect that matches your dataSource definition bean id=dataSource class= destroymethod=close property name=driverClassName value= / property name=url value=jdbc:oracle:thin::1521:LIU1027 / property name=username value=SCHOOL / property name=password value=SCHOOL / 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。} /style /head body div id=container div id=header課程查詢 /div div id=content input type=text name=courseName size=20 class=s/ div id=currentPos//div input type=button value=查詢 onclick=showbook() div id=showResultMessage/div 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。} .s{textindent:20px。 } /script link rel=stylesheet href=../ponents/css/ / style container{width:400px。 = text/javascript。)。 var script = (39。HEAD39。 } } else{ = 檢測(cè)中,請(qǐng)稍等 ...。 } else{ 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。 =(xslDoc)。 =false。39。 var domDoc =。 } function processHttpResponseXML (){ if ( == 4){ if ( == 200){ //檢查是否成功接收了服務(wù)器響應(yīng) //alert()。 } } else{ (currentPos).innerHTML = 檢測(cè)中,請(qǐng)稍等 ...。 39/52 頁(yè) } else if( == 404){ alert(沒有找到與所請(qǐng)求的文件相匹配的資源! )。 } function processHttpResponse (){ if ( == 4){ if ( == 200){ //檢查是否成功接收了服務(wù)器響應(yīng) parseResponseText()。 } catch (e2){ alert(您的瀏覽器有問題! )。 } else if () { // IE try{ RequestObject = new ActiveXObject()。 } function getHTTPRequestObject(){ var RequestObject。 (POST, requestURL, true)。 38/52 頁(yè) function sendRequest(requestURL){ Request=getHTTPRequestObject()。 // Get 請(qǐng)求方式的代碼 (null)。 = processHttpResponseXML。 currentPos=showResultMessage。 } requestURL= /Student/?method=queryCourseamp。 function showbook(){ if(==){ alert(請(qǐng)輸入關(guān)鍵字! )。 charset=UTF8 pageEncoding=UTF8% !DOCTYPE html PUBLIC //W3C//DTD HTML Transitional//EN htmlheadtitle學(xué)生信息管理系統(tǒng) 課程查詢 /title script language=javascript! var currentPos。 37/52 頁(yè) 本功能主要采用 無(wú)刷新查詢 的功能實(shí)現(xiàn) ,動(dòng)態(tài)顯示查詢結(jié)果 。 1 課程 信息 查詢 課程查詢,由于一門課可能有多個(gè)老師教,可能在用課程名查詢后,返回一個(gè)課程的列表。 36/52 頁(yè) 如下示圖為 添加后的課程列表 信息 。 35/52 頁(yè) tr td class=c學(xué)校 :/td tdinput type=text name=schoolId width=30/td /tr tr td class=c年級(jí) :/td tdinput type=text name=grade width=30/td /tr tr td class=c班級(jí) :/td tdinput type=text name=className width=30/td /tr tr td colspan=2input type=submit value=添加 class=d //td /tr /table /form /div /div /body/html 1查詢顯示 課程信息列表 1 添加新課程 信息 在表單中 填寫課程信息 ,比如課程的名稱 。 margintop:10px。 } .d{ marginleft:100px。 34/52 頁(yè) height:80px。 width:300px。 borderbottom:5px solid 2254B0。 textindent:20px。 fontsize:20px。 height:30px。 fontsize:12px。 } container{ margintop:30px。 charset=UTF8 style body{ margin:0px。 33/52 頁(yè) 如下為添加學(xué)生信息的 JSP 頁(yè)面的代碼示例: % page contentType=text/html。 如下為 添加后的學(xué)生列表 信息 。 查詢顯示 學(xué)生詳細(xì)信息 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。 31/52 頁(yè) marginleft:120px。 } .a{ textindent:20px。 width:400px。 borderbottom:5px solid 2254B0。 textindent:20px。 fontsize:20px。 height:30px。 fontsize:12px。 } container{ margintop:30px。 charset=UTF8 style body{ margin:0px。charset=UTF8% % include file=/mons/% htmlheadtitle學(xué)生信息管理系統(tǒng) 添加學(xué)校 /title 楊教授 大學(xué)堂 精心創(chuàng)作的優(yōu)秀程序員 職業(yè)提升必讀系列資料 楊教授 大學(xué)堂 ,版權(quán)所有,盜版必究 。 添加學(xué)校 信息 輸入要 添加 的 學(xué)校 信息,比如學(xué)校的名稱 。 29/52 頁(yè) 在他們之間有個(gè)學(xué)校課程表,是一張關(guān)聯(lián)表,課程不是自己隨便加的,必需是課程表之中存在的課程。 查詢顯示 學(xué)校信息列表 查看學(xué)校列表,管理員可以查看學(xué)習(xí)的詳細(xì)信息,還可以添加新學(xué)校。 27/52 頁(yè) form action=${ctx}/?method=isStudent method=post enctype=multipart/formdata name=form1 table width=270 tr td用戶名 /td tdinput type=text name=name id=name//td tdinput type=button name=userName id=userName value=check onClick=chkUserName()//t
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1