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

正文內(nèi)容

j2ee編程技術(shù)實驗報告書(已修改)

2025-05-25 22:08 本頁面
 

【正文】 J2EE編程技術(shù)實驗報告書專業(yè):軟件工程指導(dǎo)老師:羅翌陳 學(xué)號:0800350114姓名:凌浩實驗一 JSP網(wǎng)頁設(shè)計一、實驗?zāi)康恼莆認(rèn)2EE JSP+Servlet+JavaBean開發(fā)模式開發(fā)JSP網(wǎng)頁步驟;掌握該開發(fā)模式實現(xiàn)用戶登錄頁面功能。二、實驗環(huán)境PC系列微機,CPU2G以上,內(nèi)存1G以上,Windows XP。三、實驗步驟創(chuàng)建Servlet LoginServlet實現(xiàn)登錄驗證 編寫該Servlet實現(xiàn)登錄驗證并進(jìn)行配置。 這3個jsp的頁面采用的JSP+JavaBean開發(fā)模式中相同。調(diào)試程序是否正常運行四、實驗報告:package 。import 。import 。import 。import 。import 。import 。import 。import 。import 。public class LonginServlet extends HttpServlet { public LonginServlet() { super()。 } public void destroy() { ()。 } public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String a=123。 User user=new User()。 ((username))。 ((password))。 ((role))。 UserDao userdao=new UserDaoImpl()。 if((user)){ if(().equals(admin)){ ().forward(request,response)。 } else{ ().forward(request, response)。 } } else{ (errormessage, error)。 ().forward(request, response)。 } } public void init() throws ServletException { }}:%@ page language=java import=.* contentType=text/html。charset=gb2312%%String path = ()。String basePath = ()+://+()+:+()+path+/。%!DOCTYPE HTML PUBLIC //W3C//DTD HTML Transitional//ENhtml head base href=%=basePath% titleMy JSP 39。39。 starting page/title /head body center form action=Login method=post h3登錄/h3 % if((errormessage)!=null) { %label style=color:red。fontsize:20px。 %(賬號或密碼錯誤)。%/label% } % table trtd賬號:/tdtdinput type=text name=username size=20//td/tr trtd密碼:/tdtdinput type=password name=password size=20//td/tr trtd colspan=2 align=center /td/tr trtd colspan=2 align=centerinput type=submit value=登錄/ input type=reset value=清空//td/tr /table /form /center /body/html%@ page language=java import=.* contentType=text/html。charset=gb2312%%String path = ()。String basePath = ()+://+()+:+()+path+/。%:!DOCTYPE
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號-1