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

正文內(nèi)容

企業(yè)辦公自動化系統(tǒng)說明書-資料下載頁

2025-07-20 09:46本頁面
  

【正文】 件和查詢值,其關(guān)鍵代碼如下:package 。import 。public class SearchForm extends ActionForm { private String subsql。 private String subsqlvalue。 …//省略了屬性的getXXX()和setXXX()方法}(4) :formbeans formbean name=searchform type= //formbeans action name=searchform parameter=person_good path=/person/person_good scope=request type= forward name=success path=/person/ / forward name=false path=/person// /action(5) 在UserAction類中創(chuàng)建executePersonLook()方法。在UserAction類中創(chuàng)建executePersonLook()方法處理查詢請求,該方法也是用來處理“瀏覽員工信息”請求方法,因?yàn)椤盀g覽員工信息”的請求實(shí)際上就是查詢?nèi)坑脩舻恼埱?。executePersonLook()方法關(guān)鍵代碼如下:public ActionForward executePersonLook(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response) { ActionMessages errors = new ActionMessages()。 HttpSession session = ()。 SearchForm searchform = (SearchForm) form。 String sql = 。 String subsql = ()。 String subsqlvalue = ()。 sql = select * from + + where + subsql+ =39。 + subsqlvalue + 39。 String str_currentpage=(page)。 DB db = new DB()。 ArrayList personlist = (sql,currentpage)。 return (success)。 }個(gè)人信息子模塊個(gè)人信息子模塊是對登錄用戶的信息進(jìn)行操作的。當(dāng)用戶觸發(fā)查看個(gè)人信息請求時(shí),處理該請求的Action類的主要任務(wù)就是調(diào)用相應(yīng)的方法將用戶登錄時(shí)存儲在LogonForm類中的信息復(fù)制到于該請求對應(yīng)的ActionForm類中。然后利用ActionForm的自動填充機(jī)制通過html:text標(biāo)簽將信息顯示在頁面中。當(dāng)用戶觸發(fā)修改個(gè)人信息請求時(shí),Action類會通過該其請求中傳遞的參數(shù)做相應(yīng)的操作。 文檔管理模塊的實(shí)現(xiàn)該模塊的功能如下:瀏覽文件詳細(xì)內(nèi)容。,也沒有在Action類中編寫實(shí)現(xiàn)該請求的方法,而是直接通過一個(gè)鏈接轉(zhuǎn)發(fā)到目的頁面后,應(yīng)用Struts標(biāo)簽來實(shí)現(xiàn)的。該模塊的實(shí)現(xiàn)過程如下:(1) :a href=%=()%/file/?id=bean:write name=39。filesigle39。 property=39。fileid39。/html:text name=filesigle property=filename size=25 style=border:0。cursor:hand readonly=true //a 該鏈接所觸發(fā)的不是*.do的請求,html:text標(biāo)簽輸出文件的主題信息。(2) :tablelogic:present name=filelistlogic:iterate id=filesigle name=filelistlogic:equal value=%=(id)% name=filesigle property=fileid tr valign=middletd bgcolor=B9D9E9文件名:amp。nbsp。/td td height=30amp。nbsp。html:text name=filesigle property=filename style=border:0。 readonly=true//td/tr tr valign=middle td height=30 align=right valign=middle bgcolor=B9D9E9上傳者:amp。nbsp。/tdtd height=30 align=leftamp。nbsp。html:text name=filesigle property=fileuper style=border:0 readonly=true//td/tr…… //省略部分顯示文件其他信息的代碼 /logic:equal /logic:iterate/logic:present/tablelogic:iterate遍歷標(biāo)簽中name屬性所指定的filelist集合對象是在用戶觸發(fā)/file/,也就是單擊菜單中的“文檔管理”中的“文件瀏覽”鏈接時(shí),在FileAction類中的executeFileLook()方法中生成的。刪除文件子模塊該模塊通過單擊“刪除”按鈕后提交給Form表單后觸發(fā)。當(dāng)用戶選中“刪除”按鈕后的復(fù)選框后進(jìn)行刪除操作時(shí),存儲在服務(wù)器中的文件就會被刪除,否則只從數(shù)據(jù)庫刪除選定的文件信息。: 瀏覽文件窗口(1) “刪除”提交按鈕,關(guān)鍵代碼如下:html:form action=/file/html:hidden name=filesigle property=fileid/input type=hidden name=page value=%=(currentpage)%tr td height=30 align=center title=查看詳細(xì)信息a href=%=()%/file/?id=bean:write name=39。filesigle39。 property=39。fileid39。/html:text name=filesigle property=filename size=25 style=border:0。cursor:hand readonly=true //a/tdtdbean:write name=filesigle property=fileuper//td tdbean:write name=filesigle property=filesize//td tdbean:write name=filesigle property=fileuptime//td tda href=%=()%/file/?id=bean:write name=39。filesigle39。 property=39。fileid39。/amp。filename=bean:write name=39。filesigle39。 property=39。filename39。/下載/a/tdtd logic:equal value=0 name=logonuser property=userable無權(quán)限/logic:equal logic:greaterEqual value=1 name=logonuser property=userable html:submit value=刪除 onclick=return(confirm(39。確認(rèn)要刪除該記錄嗎?39。))/amp。nbsp。html:checkbox name=filesigle property=delete value=trueamp。nbsp。刪除磁盤文件!/html:checkbox/logic:greaterEqual/td/tr/html:form(2) :action name=fileform parameter=file_del path=/file/file_del scope=request type= forward name=success path=/file/ / forward name=false path=/file/ //action(3) 創(chuàng)建FileForm類。(4) 在FileAction類中創(chuàng)建executeFileDel()方法。3. 文件上傳子模塊該模塊實(shí)現(xiàn)單個(gè)文件的上傳操作,用戶通過選擇要上傳的文件,并在“描述”文本框中輸入文件的描述信息單擊“上傳”按鈕,程序會將文件的上傳者、大小和上傳時(shí)間等信息插入數(shù)據(jù)庫中,同時(shí)將文件上傳到服務(wù)器指定的目錄下,并將文件在數(shù)據(jù)表中的ID值與文件的后綴名組成一個(gè)新的文件名,并重新命名該文件。: 上傳文件窗口該模塊的實(shí)現(xiàn)過程如下:(1) :html:form action=/file/?uptype=up enctype=multipart/formdata method=post focus=upfile trtd table tr td bgcolor=B9D9E9文件:/td tdamp。nbsp。html:file property=upfile size=66//td/tr trtd bgcolor=B9D9E9描述:/td tdamp。nbsp。html:text property=fileinfo size=77//td/tr /table /td/tr trtd html:submit value=上傳文件/ html:reset value=重置選擇/ /td/tr在實(shí)現(xiàn)文件上傳功能時(shí),F(xiàn)orm表單的method屬性值必須為 “post”,并且enctype的屬性值為“multipart/formdata”。(2) ,其關(guān)鍵代碼如下:action name=fileform parameter=file_up path=/file/file_up scope=request type= forward name=up path=/file/ / forward name=success path=/file/ / forward name=false path=/file/ / /action(3) 在FileAction類中創(chuàng)建executeFileUp()方法。4. 文件下載子模塊 該模塊將選中的文件從服務(wù)器中下載到客戶端指定目錄下。用戶單擊“下載”鏈接觸發(fā)文件下載請求,程序回復(fù)響應(yīng)向用戶顯示文件下載對話框并要求用戶選擇處理文件方式,選中“將文件保存到磁盤”單選項(xiàng)后單擊“確定”按鈕,在彈出的對話框中選擇文件保存路徑后單擊“保存”按鈕即可將文件下載到指定目錄中,文件下載實(shí)現(xiàn)如下: 新建下載窗口(1) “下載”鏈接代碼如下:a href=%=()%/file/?id=bean:write name=39。filesigle39。 property=39。fileid39。/amp。filename=bean:write name=39。filesigle39。 property=39。filename39。/下載/a(2) ,其關(guān)鍵代碼如下 :action name=fileform parameter=file_download path=/file/file_download scope=request type= forward name=success path=/file/ / forward name=false path=/file/ / /action(3) 在FileAction類中創(chuàng)建executeFileDownLoad()方法。,當(dāng)用戶單擊“下載”鏈接時(shí)請求被轉(zhuǎn)發(fā)到FileAction類中,F(xiàn)ileAction類調(diào)用executeFileDownLoad()方法處理該請求。 退出模塊的實(shí)現(xiàn)設(shè)置該模塊能銷毀存儲了當(dāng)前用戶信息,使用戶安全退出。其中包括重新登錄和退出兩大功能。該模塊的實(shí)現(xiàn)過程如下::(1) 重新登錄子模塊的配置: action parameter=logon_agin path=/logonagin scope=request type= forward name=logon_agin path=/ / /action(2) 退出子模塊的配
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1