【正文】
you just put the image in the directory for Web resources (., two levels up from WEBINF/classes) and output a normal IMG tag? You create images that change under the mouse by using clientside JavaScript, referenced with the SCRIPT tag。s Java version—the server39。t understand servlet programming3. Some tasks are better acplished by servlets than by JSP. JSP is good at generating pages that consist of large sections of fairly well structured HTML or other character data. Servlets are better for generating binary data, building pages with highly variable structure, and performing tasks (such as redirection) that involve little or no output.4. Some tasks are better acplished by a bination of servlets and JSP than by either servlets or JSP JavaScript JavaScript, which is pletely distinct from the Java programming language, is normally used to dynamically generate HTML on the client, building parts of the Web page as the browser loads the document. This is a useful capability and does not normally overlap with the capabilities of JSP (which runs only on the server). JSP pages still include SCRIPT tags for JavaScript, just as normal HTML pages do. In fact, JSP can even be used to dynamically generate the JavaScript that will be sent to the client. So, JavaScript is not a peting technology。t understand how JSP works without understanding servlets.2. JSP consists of static HTML, specialpurpose JSP tags, and Java code. What kind of Java code? Servlet code! You can39。t provide any capabilities that couldn39。s C language is very well designed and is similar to Java, fewer programmers are familiar with either the core C syntax or the many auxiliary libraries. In addition, many developers still use the original version of ASP. With this version, JSP has a clear advantage for the dynamic code. With JSP, the dynamic part is written in Java, not VBScript or another ASPspecific language, so JSP is more powerful and better suited to plex applications that require reusable ponents You could make the same argument when paring JSP to the previous version of ColdFusion。 you aren39。Stephen Forte.|Microsoft SQL Server Press , 2006附 錄Benefits of JSP JSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform could also be acplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of one or the other. After all, anything you can do on a particular puter platform in the Java programming language you could also do in assembly language. But it still matters which you choose..JSP provides the following benefits over servlets alone:? It is easier to write and maintain the HTML. Your static code is ordinary HTML: no extra backslashes, no double quotes, and no lurking Java syntax.? You can use standard Website development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags? You can divide up your development team. The Java programmers can work on the dynamic code. The Web developers can concentrate on the presentation layer. On large projects, this division is very important. Depending on the size of your team and the plexity of your project, you can enforce a weaker or stronger separation between the static HTML and the dynamic content. Now, this discussion is not to say that you should stop using servlets and use only JSP instead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still others, you will bine them with the MVC architecture . You want the appropriate tool for the job, and servlets, by themselves, do not plete your toolkitAdvantages of JSP Over Competing Technologies A number of years ago, Marty was invited to attend a small 20person industry roundtable discussion on software technology. Sitting in the seat next to Marty was James Gosling, inventor of the Java programming language. Sitting several seats away was a highlevel manager from a very large software pany in Redmond, Washington. During the discussion, the moderator brought up the subject of Jini, which at that time was a new Java technology. The moderator asked the manager what he thought of it, and the manager responded that it was too early to tell, but that it seemed to be an excellent idea. He went on to say that they would keep an eye on it, and if it seemed to be catching on, they would follow his pany39。SQL Server 2000實(shí)用教程(第2版) 。SQL Server應(yīng)用教程。SQL Server數(shù)據(jù)庫應(yīng)用教程 。SQL Server實(shí)用教程(第3版)。力資源管理職位工作手冊(第2版) 。共部門人力資源管理 。人力資源管理(第三版)。.JSP網(wǎng)絡(luò)編程學(xué)習(xí)筆記[M]。Servlet/JSP深入詳解—基于Tomcat的Web開發(fā)。數(shù)據(jù)庫系統(tǒng)概念.。人力資源管理職位工作手冊 。人力資源管理概論(第二版)。人力資源管理(21世紀(jì)管理學(xué)教材)。人力資源管理。JSP工程應(yīng)用與項目實(shí)踐。SQL Server數(shù)據(jù)庫開發(fā)實(shí)例解析。JSP 信息系統(tǒng)開發(fā)實(shí)例精選 。在此,我對敬愛的指導(dǎo)老師表示衷心的祝福和感謝!同時,衷心感謝東北大學(xué)秦皇島分校所有支持和幫助過我的老師和同學(xué)。首先,感謝我的指導(dǎo)老師袁靜波老師。對于本系統(tǒng)來說,還是有許多值得改進(jìn)的地方,主要是在系統(tǒng)性能方面可以進(jìn)一步的加強(qiáng)。具體分析設(shè)計了包括人員管理,招聘管理,培訓(xùn)管理,獎懲管理,薪金管理五個功能模塊。系統(tǒng)設(shè)計的目標(biāo)是實(shí)現(xiàn)對企業(yè)人力資信息進(jìn)行統(tǒng)一管理,提高企業(yè)工作效率、降低成本,滿足用戶及時溝通需要,實(shí)現(xiàn)與其它系統(tǒng)協(xié)同工作。綜上所述,本項目人力資源管理系統(tǒng)通過測試。并且數(shù)據(jù)庫的可維護(hù)性良好,數(shù)據(jù)的錄入能順利完成,并能順利實(shí)現(xiàn)對數(shù)據(jù)刪除和修改等動態(tài)更新。從測試用例的數(shù)量和測試結(jié)果上看,本項目的測試工作已基本滿足測試工作的需求,但在這個測試過程中也存在一定的測試問題:系統(tǒng)在運(yùn)行、關(guān)閉及退出時均正常,運(yùn)行穩(wěn)定,在系統(tǒng)的不斷啟動關(guān)閉過程中沒有出現(xiàn)死機(jī)、程序執(zhí)行效率降低等各種不良現(xiàn)象,功能的實(shí)現(xiàn)較為完善。在這里有必要把個這不言而喻的事實(shí)再次強(qiáng)調(diào)一下,因?yàn)橛袝r產(chǎn)品的測試只是為了證實(shí)軟件可以運(yùn)行,而不是找缺陷。(5)對數(shù)據(jù)溢出、格式錯誤等非法操作能否進(jìn)行非法提示,以敬告用戶正確使用。(3)數(shù)據(jù)庫的可維護(hù)性如何,數(shù)據(jù)的錄入、刪除及更改是否能夠順利完成。 測試內(nèi)容(1)系統(tǒng)各個功能模塊是否都已實(shí)現(xiàn),系統(tǒng)能否正常運(yùn)行、關(guān)閉及退出。 系統(tǒng)測試在本系統(tǒng)的開發(fā)測試過程中,利用Junit4進(jìn)行單元測試[17],采用了TDD[18]的思想進(jìn)行系統(tǒng)的開發(fā)和測試。修改薪金數(shù)據(jù):單擊相應(yīng)員工列表中的【修改】按鈕,在系統(tǒng)彈出的修改薪金界面即可進(jìn)行修改,最后單擊【提交】按鈕即完成修改操作。單擊【添加薪金數(shù)據(jù)】按鈕,界面右側(cè)自動顯示添加薪金的界面, 人添加薪金單擊各文本框,輸入相應(yīng)的內(nèi)容,最后單擊【提交】按鈕即完成添加操作,同時系統(tǒng)自動進(jìn)入薪金列表的瀏覽界面,通過此界面可以查看到所有的員工薪金信息。單擊相應(yīng)獎懲名稱后的【詳細(xì)】按鈕,可查看相應(yīng)獎懲的具體信息,單擊【刪除】按鈕,即可刪除相應(yīng)的獎懲信息。單擊【添加獎懲信息】按鈕,界面右側(cè)自動顯示獎懲登記的界面。單擊【詳細(xì)】按鈕,可查看相關(guān)培訓(xùn)總結(jié)的詳細(xì)信息,單擊【刪除】按鈕,可刪除該培訓(xùn)總結(jié)。 培訓(xùn)總結(jié)單擊培訓(xùn)結(jié)果和培訓(xùn)總結(jié)的文本框,輸入相應(yīng)的內(nèi)容,最后單擊【提交】按鈕,系統(tǒng)自動進(jìn)入培訓(xùn)總結(jié)的查看界面。 瀏覽培訓(xùn)計劃。注意:填寫時間的文本框時,正確的