有關(guān)按鈕的java程序,編輯窗口,在桌面上顯示窗口,點(diǎn)擊按鈕,出現(xiàn)action OCCURRED
上傳時(shí)間: 2014-11-22
上傳用戶:lhc9102
理發(fā)店網(wǎng)上發(fā)型設(shè)計(jì)預(yù)約系統(tǒng),是一個(gè)典型的JSP數(shù)據(jù)庫開發(fā)應(yīng)用程序,由前臺(tái)發(fā)型設(shè)計(jì)和理發(fā)師預(yù)約、后臺(tái)管理2部分組成。本系統(tǒng)設(shè)計(jì)中使用了Struts框架建立電子商務(wù)網(wǎng)站。在Struts框架中,JSP用于前端展現(xiàn),action用于處理前端頁面的JSP發(fā)來的請(qǐng)求,請(qǐng)求參數(shù)通過Struts攔截器機(jī)制進(jìn)行傳遞,action在獲得請(qǐng)求之后連接數(shù)據(jù)庫做處理,最后將處理結(jié)果轉(zhuǎn)發(fā)到相應(yīng)的JSP進(jìn)行展現(xiàn)。系統(tǒng)中還運(yùn)用了一定的圖像處理技術(shù),將圖片以二進(jìn)制文件存儲(chǔ)到數(shù)據(jù)庫中,再進(jìn)行讀取、修改等操作,替換覆蓋圖片實(shí)現(xiàn)“換裝”效果。
標(biāo)簽:
上傳時(shí)間: 2014-01-04
上傳用戶:壞天使kk
parse解析XML示例程序。本方法僅簡單輸出了傳入的actionMapping的信息,在具體應(yīng)用中可將其加入系統(tǒng)action映射集合中。
標(biāo)簽: actionMapping parse XML 程序
上傳時(shí)間: 2017-02-14
上傳用戶:qwe1234
This taglib contains tags used to create struts input forms, as well as other tags generally useful in the creation of HTML-based user interfaces. Many of the tags in this tag library will throw a JspException at runtime when they are utilized incorrectly (such as when you specify an invalid combination of tag attributes). JSP allows you to declare an "error page" in the <%@ page %> directive. If you wish to process the actual exception that caused the problem, it is passed to the error page as a request attribute under key org.apache.struts.action.EXCEPTION.
標(biāo)簽: tags generally contains taglib
上傳時(shí)間: 2017-02-21
上傳用戶:dianxin61
在j2ee開發(fā)時(shí),上傳附件寫到action里的代碼
標(biāo)簽: j2ee
上傳時(shí)間: 2017-03-29
上傳用戶:zhuoying119
本課程學(xué)習(xí)完畢后學(xué)員可以熟練掌握以下內(nèi)容 ·Struts框架 講解MVC標(biāo)準(zhǔn)實(shí)現(xiàn)框架Struts的基本配置及基本使用,講解了Struts的基本工作原理,常用標(biāo)簽(HTML、LOGIC、 BEAN)、各種主要action(action、Forwardaction、Dispatchaction)、Struts驗(yàn)證框架、Struts國際化、Struts解 決重復(fù)提交及文件上傳操作等。 ·Hibernate框架 講解Hibernate框架的基本ORMapping實(shí)現(xiàn)及Hibernate主要的配置操作,并講解了Hibernate數(shù)據(jù)檢索操作、實(shí)體映射 技術(shù)、復(fù)合主鍵、實(shí)體層設(shè)計(jì)、容器映射技術(shù)及復(fù)雜的數(shù)據(jù)關(guān)聯(lián)技術(shù),并結(jié)合之前講解的struts框架與DAO設(shè)計(jì)模式和 數(shù)據(jù)關(guān)聯(lián)技術(shù)一起完成了三個(gè)大的項(xiàng)目開發(fā)練習(xí),以幫助讀者鞏固Hibernate及Struts的使用。 ·Spring框架 結(jié)合Java基礎(chǔ)中的對(duì)象產(chǎn)生介紹了Spring產(chǎn)生的主要目的,并通過代碼詳細(xì)講解了Spring中各主要配置文件的作用, 并講解了Spring中的Ioc、AOP技術(shù)和Jdbc模板技術(shù),最后講解了如何將Spring與Struts、Hibernate三個(gè)框架聯(lián)合進(jìn) 行開發(fā),在最后的案例講解中,重點(diǎn)講解了SSH框架聯(lián)合開發(fā)技術(shù)。
標(biāo)簽: Struts MVC 標(biāo)準(zhǔn)
上傳時(shí)間: 2013-11-27
上傳用戶:3到15
procedure senddata var i:integer commflg : Boolean begin commflg:=true for i:=1 to 8 do begin if not fcomm comml writecommdata(sendbutter,i) then begin Commflg=false break end end end (4) 接收數(shù)據(jù) 在編寫基于串口的計(jì)算機(jī)工業(yè)測(cè)控時(shí),通常需要由下位機(jī)向PC機(jī)發(fā)送數(shù)據(jù)以使PC機(jī)了解系統(tǒng)的測(cè)試數(shù)據(jù)或下位機(jī)的運(yùn)行狀態(tài),并進(jìn)而控制下位機(jī)的行為。利用Spcomm串口控件接收下位機(jī)發(fā)送的數(shù)據(jù)信息的示例代碼如下: //事件驅(qū)動(dòng)方式接收數(shù)據(jù)程序 procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word) var receivedata:array of byte begin sleep(100) //等待100ms,保證接收到所有數(shù)據(jù) move(buffef ,receivedata,bufferlength) //將接收緩存區(qū)中的數(shù)據(jù)轉(zhuǎn)移到數(shù)組中 …… end (5) 關(guān)閉串口 在系統(tǒng)開發(fā)中,應(yīng)注意在不使用串口時(shí)應(yīng)及時(shí)關(guān)閉串口,釋放系統(tǒng)資源,否則可能會(huì)影響系統(tǒng)的其它應(yīng)用。關(guān)閉串口的代碼如下: procedure TForm1.FormClose ( Sender TObj ect:var action:TCIoseaction ) begin comml.StopComm end
標(biāo)簽: commflg procedure senddata integer
上傳時(shí)間: 2014-01-26
上傳用戶:懶龍1988
This is a Flex UIComponent that can be used 謀n a FLEX 3 mxml application as component written in action script 3.0, provides you to create items that cab be filled from an XML or Query ResultSet or etc. and is viewed in a container that can preview images and additional info like a store item and can be added to shopp謀ng chart , and also can be deleted from that shopp謀ng chart
標(biāo)簽: UIComponent application component written
上傳時(shí)間: 2013-12-09
上傳用戶:dapangxie
JAAS 例子代碼,包括如何實(shí)現(xiàn)Kerberos Login,執(zhí)行action,以及實(shí)現(xiàn)Kerberos Delegation.
上傳時(shí)間: 2013-12-24
上傳用戶:agent
a robots book for people who don t know the first thing about robotics! Absolute Beginner s Guide to Robots is well-written, inviting, and action-packed, with engaging ideas and fascinating factoids about robots and robot-related arts and sciences.
標(biāo)簽: Absolute Beginner robotics robots
上傳時(shí)間: 2017-07-07
上傳用戶:ggwz258
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1