基于JSP的校園招聘網(wǎng)站設(shè)計
基于JSP的校園招聘網(wǎng)站設(shè)計,基于,JSP,校園,招聘,網(wǎng)站,設(shè)計
存檔編碼:無無錫錫太太湖湖學(xué)學(xué)院院 2013 屆屆畢畢業(yè)業(yè)作作業(yè)業(yè)周周次次進(jìn)進(jìn)度度計計劃劃、檢檢查查落落實實表表 系別:信機(jī)系 班級:計科93 學(xué)生姓名:周晨 課題(設(shè)計)名稱:基于JSP的校園招聘網(wǎng)站設(shè)計 開始日期:2012年11月12日周次起止日期工作計劃、進(jìn)度每周主要完成內(nèi)容存在問題、改進(jìn)方法指導(dǎo)教師意見并簽字備 注1-32012年11月12日-2012年12月12日教師下達(dá)畢業(yè)設(shè)計任務(wù),學(xué)生初步閱讀資料,完成畢業(yè)設(shè)計開題報告。按照任務(wù)書要求查閱論文相關(guān)參考資料,填寫畢業(yè)設(shè)計開題報告書。對網(wǎng)站要實現(xiàn)的功能不熟悉,查閱相關(guān)資料后確立目標(biāo)方向。4-102012年12月3日-2013年1月20日指導(dǎo)專業(yè)實訓(xùn)參加專業(yè)實訓(xùn),同時去圖書館查閱相關(guān)資料,學(xué)習(xí)編程語言知識,為后續(xù)開發(fā)做準(zhǔn)備。學(xué)習(xí)編程語言過程中遇到一些技術(shù)障礙,通過導(dǎo)師指導(dǎo)和上網(wǎng)查找相關(guān)資料后解決問題。11-122012年1月21日-2013年3月1日指導(dǎo)畢業(yè)實習(xí)完成實習(xí)期間的工作,了解招聘網(wǎng)站的流程,增強(qiáng)相關(guān)專業(yè)知識。在實習(xí)期間不斷學(xué)習(xí)新知識,雖遇到一些困難,但經(jīng)他人幫助后得到了解決。132013年3月4日-3月8日畢業(yè)設(shè)計任務(wù)書填寫指導(dǎo)收集有關(guān)該論文的資料,包括中外文獻(xiàn),書寫畢業(yè)設(shè)計任務(wù)書。資料內(nèi)容多,很難找到相關(guān)的資料進(jìn)行參考。142013年3月11日-3月15日開發(fā)前準(zhǔn)備工作指導(dǎo)把相關(guān)開發(fā)軟件進(jìn)行安裝。選用myeclipse作為開發(fā)工具。152013年3月18日-3月22日對課題研究的意義進(jìn)行講解了解系統(tǒng)在國內(nèi)外的意義,網(wǎng)上招聘的優(yōu)勢。認(rèn)真研究課題,明確開發(fā)目標(biāo)。162013年3月25日-3月29日對系統(tǒng)開發(fā)流程進(jìn)行指導(dǎo)掌握招聘網(wǎng)站開發(fā)流程,了解系統(tǒng)要運(yùn)用的相關(guān)軟件和技術(shù)進(jìn)行實現(xiàn)功能。對軟件運(yùn)用不熟悉,但在后期學(xué)習(xí)中得到了加深。172013年4月1日-4月5日開發(fā)工具及相關(guān)技術(shù)指導(dǎo)對開發(fā)工具進(jìn)行了深入了解和應(yīng)用。myeclipse開發(fā)工具運(yùn)用不熟練,經(jīng)過摸索會運(yùn)用這工具。182013年4月8日-4月12日系統(tǒng)可行性研究指導(dǎo)分析招聘網(wǎng)站設(shè)計的可行性分析可行性考慮的要素不全面,最后去圖書館查閱了相關(guān)資料,實現(xiàn)分析。192013年4月15日-4月19日系統(tǒng)需求分析、總體設(shè)計與規(guī)劃指導(dǎo)了解需求分析的概念,對系統(tǒng)的功能進(jìn)行分析,畫出相關(guān)圖形進(jìn)行設(shè)計。查閱資料之后對需求分析有了進(jìn)一步了解。202013年4月22日-4月26日系統(tǒng)數(shù)據(jù)設(shè)計指導(dǎo)建立開發(fā)網(wǎng)站需要的數(shù)據(jù)庫表選用SQL Server 2005作為數(shù)據(jù)庫設(shè)計平臺。212013年4月29日-5月3日系統(tǒng)開發(fā)及編寫代碼實現(xiàn)各個系統(tǒng)功能模塊,完成代碼編寫,對整個系統(tǒng)進(jìn)行測試。對實現(xiàn)某些功能不行完成,經(jīng)老師指導(dǎo)后完成。222013年5月6日-5月10日調(diào)試及完善系統(tǒng),撰寫論文對系統(tǒng)進(jìn)行反復(fù)調(diào)試,防止錯誤;列出論文提綱,開始寫論文。論文格式出現(xiàn)問題,經(jīng)老師指導(dǎo)幫助后解決。232013年5月13日-5月17日撰寫論文,修改論文撰寫論文,修改論文。論文內(nèi)容存在問題很多,經(jīng)指導(dǎo)老師耐心查看后解決。242013年5月20日-5月24日答辯指導(dǎo)整理論文及相關(guān)資料。不清楚答辯相關(guān)事項,指導(dǎo)老師負(fù)責(zé)給我們說明。說明:1、“工作計劃、進(jìn)度”、“指導(dǎo)教師意見并簽字”由指導(dǎo)教師填寫,“每周主要完成內(nèi)容”,“存在問題、改進(jìn)方法”由學(xué)生填寫。2、本表由各系妥善歸檔,保存?zhèn)洳椤V艽纹鹬谷掌诠ぷ饔媱?、進(jìn)度每周主要完成內(nèi)容存在問題、改進(jìn)方法指導(dǎo)教師意見并簽字備 注
編號
無錫太湖學(xué)院
畢業(yè)設(shè)計(論文)
相關(guān)資料
題目: 基于JSP的校園招聘網(wǎng)站設(shè)計
信機(jī) 系 計算機(jī)科學(xué)與技術(shù)專業(yè)
學(xué) 號: 0921102
學(xué)生姓名: 周 晨
指導(dǎo)教師: 程冠琦 (職稱:講師)
(職稱: )
2013年5月25日
目 錄
一、畢業(yè)設(shè)計(論文)開題報告
二、畢業(yè)設(shè)計(論文)外文資料翻譯及原文
三、學(xué)生“畢業(yè)論文(論文)計劃、進(jìn)度、檢查及落實表”
四、實習(xí)鑒定表
無錫太湖學(xué)院
畢業(yè)設(shè)計(論文)
開題報告
題目: 基于JSP的校園招聘網(wǎng)站設(shè)計
信機(jī) 系 計算機(jī)科學(xué)與技術(shù) 專業(yè)
學(xué) 號: 0921102
學(xué)生姓名: 周 晨
指導(dǎo)教師: 程冠琦 (職稱:講師 )
(職稱: )
2012年11月20日
課題來源
由于國家的迅速發(fā)展,我國很快進(jìn)入信息化時代,當(dāng)今社會電腦的普及,網(wǎng)上查詢信息的方便并且信息量的全面。其次,當(dāng)今社會快速發(fā)展,產(chǎn)生了大量的工作崗位。為了擺脫傳統(tǒng)招聘的繁瑣,實現(xiàn)招聘的方便,產(chǎn)生了網(wǎng)上招聘。
科學(xué)依據(jù)(包括課題的科學(xué)意義;國內(nèi)外研究概況、水平和發(fā)展趨勢;應(yīng)用前景等)
(1)課題科學(xué)意義
隨著信息化的發(fā)展,電子計算機(jī)技術(shù)、網(wǎng)絡(luò)通訊技術(shù)及相關(guān)技術(shù)不斷提升,用戶的需求也隨著技術(shù)的發(fā)展而有了進(jìn)一步的提高,因此互聯(lián)網(wǎng)提供了更多更新的服務(wù),構(gòu)造更完善的體系以滿足越來越多的用戶的精神需求及物質(zhì)需求。隨著Internet技術(shù)的日益成熟,人才的招聘是企業(yè)認(rèn)識管理中的重要環(huán)節(jié),涉及到企業(yè)工作人員的整體素質(zhì)水平,而以往人才的選擇往往是十分繁瑣的,不計其數(shù)的簡歷的審閱將耗費(fèi)大量人力,網(wǎng)上招聘方式與傳統(tǒng)招聘方式的不同主要體現(xiàn)在:第一,節(jié)約成本,應(yīng)聘者無需奔波于招聘現(xiàn)場,印制并投放多份簡歷,企業(yè)在審閱簡歷時直接從計算機(jī)上調(diào)用對比,大大降低人力成本;第二,便于建立簡歷電子人才庫,以備不時之需。網(wǎng)上招聘求職方式已經(jīng)成為了招聘求職的一大重要手段,其招聘求職規(guī)模和招聘求職成功率已直逼傳統(tǒng)招聘會,有的甚至超過了傳統(tǒng)招聘會。通過它應(yīng)聘者和招聘公司/單位可以在網(wǎng)上通過Internet,突破時間和空間的限制而實現(xiàn)工作求職和公司/單位的人才的招聘。網(wǎng)上招聘的崛起對傳統(tǒng)人才招聘流通體系產(chǎn)生了強(qiáng)烈的沖擊,網(wǎng)上招聘較之傳統(tǒng)招聘具有招聘范圍廣,信息量大,可挑選余地大,應(yīng)聘人員素質(zhì)高,招聘效果好,費(fèi)用低,獲得了越來越多的公司的認(rèn)可優(yōu)勢,同時它有著經(jīng)營成本低、庫存是虛擬的、用戶檢索方便、地域限制少等特點(diǎn)。
研究內(nèi)容
(1)熟悉網(wǎng)上招聘的優(yōu)勢和跟傳統(tǒng)招聘的比較;
(2)熟悉網(wǎng)上招聘的流程;
(3)熟練掌握J(rèn)SP的網(wǎng)站開發(fā)技術(shù);
(4)熟練使用MYECLIPSE和SQL SERVER 2005等軟件進(jìn)行開發(fā);
(5)軟件可以使用不同權(quán)限的用戶注冊,登錄;登錄成功后,企業(yè)能夠發(fā)布崗位信息,求職者能夠申請崗位,網(wǎng)站管理員負(fù)責(zé)管理網(wǎng)站上的所有信息;
(6)熟練掌握流程圖,E-R圖,數(shù)據(jù)流圖等幫助了解內(nèi)容的圖形。
擬采取的研究方法、技術(shù)路線、實驗方案及可行性分析
在對招聘網(wǎng)站課題有一定的認(rèn)識的基礎(chǔ)上,采取的主要研究方法:
先復(fù)習(xí)一下編程語言和簡單的編程思想,再到圖書館和網(wǎng)上搜索相關(guān)資料,大概了解要實現(xiàn)哪些功能,怎么構(gòu)建框架,用MYECLIPSE,SQL SERVERD等軟件下實現(xiàn)編程,當(dāng)軟件完成后,網(wǎng)上招聘的方便操作,節(jié)約時間,信息量強(qiáng)大等特點(diǎn),將會被大眾認(rèn)可。
技術(shù):系統(tǒng)采用JSP技術(shù);JSP將網(wǎng)頁邏輯與網(wǎng)頁設(shè)計和顯示分離,支持可重用的基于組件的設(shè)計,使基于Web的應(yīng)用程序的開發(fā)變得迅速和容易。
可行性:該網(wǎng)站采用B/S結(jié)構(gòu)體系,B/S最大優(yōu)勢為客戶端免維護(hù),適用于用戶群龐大,這正符合開發(fā)該網(wǎng)站的目的。
研究計劃及預(yù)期成果
研究計劃:
2012年10月12日-2012年12月25日:按照任務(wù)書要求查閱論文相關(guān)參考資料,填寫畢業(yè)設(shè)計開題報告書。
2013年1月11日-2013年3月5日:填寫畢業(yè)實習(xí)報告。
2013年3月8日-2013年3月14日:按照要求修改畢業(yè)設(shè)計開題報告。
2013年3月15日-2013年3月21日:學(xué)習(xí)并翻譯一篇與畢業(yè)設(shè)計相關(guān)的英文材料。
2013年3月22日-2013年4月11日:實現(xiàn)程序的功能。
2013年4月12日-2013年4月25日:根據(jù)導(dǎo)師的意見完善程序。
2013年4月26日-2013年5月21日:畢業(yè)論文撰寫和修改工作。
預(yù)期成果:
達(dá)到預(yù)期的功能實現(xiàn)結(jié)果:用戶能夠方便的使用該網(wǎng)站,不管是否熟悉網(wǎng)上操作,都能快速的對在網(wǎng)站上一些注冊信息,登錄,發(fā)布崗位信息,應(yīng)聘崗位等操作都能很方便的使用。最后,打開網(wǎng)站速度快,網(wǎng)站對企業(yè)和求職者的信息的保密性好,網(wǎng)站運(yùn)行穩(wěn)定等。
特色或創(chuàng)新之處
使用JSP技術(shù),JAVA編程代碼,通用性好,可以到處運(yùn)行。
設(shè)置了不同用戶的不同權(quán)限,各自注冊的不同身份,使用各自的功能,清晰明了,不會出現(xiàn)求職者發(fā)布招聘的問題出現(xiàn),企業(yè)申請職位的問題出現(xiàn)。
已具備的條件和尚需解決的問題
(1)該招聘網(wǎng)站的設(shè)計,基本的網(wǎng)上招聘功能已經(jīng)實現(xiàn)。如:求職者注冊后,職位申請;企業(yè)注冊后,發(fā)布崗位需求等。
(2)美化界面的能力和多媒體技術(shù)水平尚需加強(qiáng)。
指導(dǎo)教師意見
指導(dǎo)老師簽名:
年 月 日
教研室(學(xué)科組、研究所)意見
教研室主任簽名:
年 月 日
系意見
主管領(lǐng)導(dǎo)簽名:
年 月 日
THE TECHNIQUE DEVELOPMENT HISTORY OF JSP
By:Kathy Sierra and Bert Bates
Source: Servlet &JSP
The Java Server Pages( JSP) is a kind of according to web of the script plait distance technique, similar carries the script language of Java in the server of the Netscape company of server- side JavaScript( SSJS) and the Active Server Pages(ASP) of the Microsoft. JSP compares the SSJS and ASP to have better can expand sex, and it is no more exclusive than any factory or some one particular server of Web. Though the norm of JSP is to be draw up by the Sun company of, any factory can carry out the JSP on own system.
The After Sun release the JSP( the Java Server Pages) formally, the this kind of new Web application development technique very quickly caused the people's concern. JSP provided a special development environment for the Web application that establishes the high dynamic state. According to the Sun parlance, the JSP can adapt to include the Apache WebServer, IIS4.0 on the market at inside of 85% server product.
This chapter will introduce the related knowledge of JSP and Databases, and JavaBean related contents, is all certainly rougher introduction among them basic contents, say perhaps to is a Guide only, if the reader needs the more detailed information, pleasing the book of consult the homologous JSP.
1.1 GENERALIZE
The JSP(Java Server Pages) is from the company of Sun Microsystems initiate, the many companies the participate to the build up the together of the a kind the of dynamic the state web the page technique standard, the it have the it in the construction the of the dynamic state the web page the strong but the do not the especially of the function. JSP and the technique of ASP of the Microsoft is very alike. Both all provide the ability that mixes with a certain procedure code and is explain by the language engine to carry out the procedure code in the code of HTML. Underneath we are simple of carry on the introduction to it.
JSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform could also be accomplished 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 computer 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:
1)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.
2)You can use standard Web-site development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags.
3)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 complexity 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 combine them with the MVC architecture . You want the appropriate tool for the job, and servlets, by themselves, do not complete your toolkit.
1.2 SOURCE OF JSP
The technique of JSP of the company of Sun, making the page of Web develop the personnel can use the HTML perhaps marking of XML to design to turn the end page with format. Use the perhaps small script future life of marking of JSP becomes the dynamic state on the page contents.( the contents changes according to the claim of)
The Java Servlet is a technical foundation of JSP, and the large Web applies the development of the procedure to need the Java Servlet to match with with the JSP and then can complete, this name of Servlet comes from the Applet, the local translation method of now is a lot of, this book in order not to misconstruction, decide the direct adoption Servlet but don't do any translation, if reader would like to, can call it as" small service procedure". The Servlet is similar to traditional CGI, ISAPI, NSAPI etc. Web procedure development the function of the tool in fact, at use the Java Servlet hereafter, the customer need not use again the lowly method of CGI of efficiency, also need not use only the ability come to born page of Web of dynamic state in the method of API that a certain fixed Web server terrace circulate. Many servers of Web all support the Servlet, even not support the Servlet server of Web directly and can also pass the additional applied server and the mold pieces to support the Servlet. Receive benefit in the characteristic of the Java cross-platform, the Servlet is also a terrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is complete to have nothing to do with terrace and is to have nothing to do with server of Web. Because the Java Servlet is internal to provide the service by the line distance, need not start a progress to the each claimses, and make use of the multi-threading mechanism can at the same time for several claim service, therefore the efficiency of Java Servlet is very high.
But the Java Servlet also is not to has no weakness, similar to traditional CGI, ISAPI, the NSAPI method, the Java Servlet is to make use of to output the HTML language sentence to carry out the dynamic state web page of, if develop the whole website with the Java Servlet, the integration process of the dynamic state part and the static state page is an evil-foreboding dream simply. For solving this kind of weakness of the Java Servlet, the SUN released the JSP.
A number of years ago, Marty was invited to attend a small 20-person 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 high-level manager from a very large software company 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 company's usual "embrace and extend" strategy. At this point, Gosling lightheartedly interjected "You mean disgrace and distend." Now, the grievance that Gosling was airing was that he felt that this company would take technology from other companies and suborn it for their own purposes. But guess what? The shoe is on the other foot here. The Java community did not invent the idea of designing pages as a mixture of static HTML and dynamic code marked with special tags. For example, Cold Fusion did it years earlier. Even ASP (a product from the very software company of the aforementioned manager) popularized this approach before JSP came along and decided to jump on the bandwagon. In fact, JSP not only adopted the general idea, it even used many of the same special tags as ASP did.
The JSP is an establishment at the model of Java servlets on of the expression layer technique, it makes the plait write the HTML to become more simple.Be like the SSJS, it also allows you carry the static state HTML contents and servers the script mix to put together the born dynamic state exportation. JSP the script language that the Java is the tacit approval, however, be like the ASP and can use other languages( such as JavaScript and VBScript), the norm of JSP also allows to use other languages.
1.3 JSP CHARACTERISTICS
Is a service according to the script language in some one language of the statures system this kind of discuss, the JSP should be see make is a kind of script language. However, be a kind of script language, the JSP seemed to be too strong again, almost can use all Javas in the JSP.
Be a kind of according to text originally of, take manifestation as the central development technique, the JSP provided all advantages of the Java Servlet, and, when combine with a JavaBeans together, providing a kind of make contents and manifestation that simple way that logic separate. Separate the contents and advantage of logical manifestations is, the personnel who renews the page external appearance need not know the code of Java, and renew the JavaBeans personnel also need not be design the web page of expert in hand, can use to take the page of JavaBeans JSP to define the template of Web, to build up a from have the alike external appearance of the website that page constitute. JavaBeans completes the data to provide, having no code of Java in the template thus, this means that these templates can be written the personnel by a HTML plait to support. Certainly, can also make use of the Java Servlet to control the logic of the website, adjust through the Java Servlet to use the way of the document of JSP to separate website of logic and contents.
Generally speaking, in actual engine of JSP, the page of JSP is the edit and translate type while carry out, not explain the type of. Explain the dynamic state web page development tool of the type, such as ASP, PHP3 etc., because speed etc. reason, have already can't satisfy current the large electronic commerce needs appliedly, traditional development techniques are all at to edit and translate the executive way change, such as the ASP → ASP+;PHP3 → PHP4.
In the JSP norm book, did not request the procedure in the JSP code part( be called the Scriptlet) and must write with the Java definitely. Actually, have some engines of JSP are adoptive other script languages such as the EMAC- Script, etc., but actually this a few script languages also are to set up on the Java, edit and translate for the Servlet to carry out of. Write according to the norm of JSP, have no Scriptlet of relation with Java also is can of, however, mainly lie in the ability and JavaBeans, the Enterprise JavaBeanses because of the JSP strong function to work together, so even is the Scriptlet part not to use the Java, edit and translate of performance code also should is related with Java.
1.4 JSP MECHANISM
To comprehend the JSP how unite the technical advantage that above various speak of, come to carry out various result easily, the customer must understand the differentiation of" the module develops for the web page of the center" and" the page develops for the web page of the center" first.
The SSJS and ASP are all in several year ago to release, the network of that time is still very young, no one knows to still have in addition to making all business, datas and the expression logic enter the original web page entirely heap what better solve the method. This kind of model that take page as the center studies and gets the very fast development easily. However, along with change of time, the people know that this kind of method is unwell in set up large, the Web that can upgrade applies the procedure. The expression logic write in the script environment was lock in the page, only passing to shear to slice and glue to stick then can drive heavy use. Express the logic to usually mix together with business and the data logics, when this makes be the procedure member to try to change an external appearance that applies the procedure but do not want to break with its llied business logic, apply the procedure of maintenance be like to walk the similar difficulty on the eggshell. In fact in the business enterprise, heavy use the application of the module already through very mature, no one would like to rewrite those logics for their applied procedure.HTML and sketch the designer handed over to the implement work of their design the Web plait the one who write, make they have to double work- Usually is the handicraft plait to write, because have no fit tool and can carry the script and the HTML contents knot to the server to put together. Chien but speech, apply the complexity of the procedure along with the Web to promote continuously, the development method that take page as the center limits sex to become to get up obviously.
At the same time, the people always at look for the better method of build up the Web application procedure, the module spreads in customer's machine/ server the realm. JavaBeans and ActiveX were published the company to expand to apply the procedure developer for Java and Windows to use to come to develop the complicated procedure quickly by" the fast application procedure development"( RAD) tool. These techniques make the expert in the some realm be able to write the module for the perpendicular application plait in the skill area, but the developer can go fetch the usage directly but need not control the expertise of this realm.
Be a kind of take module as the central development terrace, the JSP appeared. It with the JavaBeans and Enterprise JavaBeans( EJB) module includes the model of the business and the data logic for foundation, provide a great deal of label and a script terraces to use to come to show in the HTML page from the contents of JavaBeans creation or send a present in return. Because of the property that regards the module as the center of the JSP, it can drive Java and not the developer of Java uses equally. Not the developer of Java can pass the JSP label( Tags) to use the JavaBeans that the deluxe developer of Java establish. The developer of Java not only can establish and use the JavaBeans, but also can use the language of Java to come to control more accurately in the JSP page according to the expression logic of the first floor JavaBeans.
See now how JSP is handle claim of HTTP. In basic claim model, a claim directly was send to JSP page in. The code of JSP controls to carry on hour of the logic processing and module of JavaBeanses' hand over with each other, and the manifestation result in dynamic state bornly, mixing with the HTML page of the static state HTML code. The Beans can be JavaBeans or module of EJBs. Moreover, the more complicated claim model can see make from is request other JSP pages of the page call sign or Java Servlets.
The engine of JSP wants to chase the code of Java that the label of JSP, code of Java in the JSP page even all converts into the big piece together with the static state HTML contents actually. These codes piece was organized the Java Servlet that customer can not see to go to by the engine of JSP, then the Servlet edits and translate them automatically byte code of Java.
Compared with the traditional CGI, the JSP has the equal advantage. First, on the speed, the traditional procedure of CGI needs to use the standard importation of the system to output the equipments to carry out the dynamic state web page born, but the JSP is direct is mutually the connection with server. And say for the CGI, each interview needs to add to add a progress to handle, the progress build up and destroy by burning constantly and will be a not small burden for calculator of be the server of Web. The next in order, the JSP is specialized to develop but design for the Web of, its purpose is for building up according to the Web applied procedure, included the norm and the tool of a the whole set. Use the technique of JSP can combine a lot of JSP pages to become a Web application procedure very expediently.
JSP技術(shù)發(fā)展史
凱茜Sierra和伯特貝茨
來源:Servlet和JSP
Java Server Pages(JSP)是一種基于Web的腳本編程技術(shù),類似的攜帶在服務(wù)器網(wǎng)景公司服務(wù)器的Java腳本語言側(cè)JavaScript(SSJS)和Active Server Pages(ASP)的微軟。JSP比SSJS和ASP具有更好的可擴(kuò)展性,它是沒有任何工廠或某一特定的Web服務(wù)器更多的獨(dú)家。盡管JSP規(guī)范是制定的太陽公司,工廠可以在自己的系統(tǒng)上實現(xiàn)JSP。
太陽釋放后的JSP(Java Server Pages)形式,這種新的Web應(yīng)用開發(fā)技術(shù)很快引起了人們的關(guān)注。JSP技術(shù)為Web應(yīng)用程序創(chuàng)建高度動態(tài)的一種特殊的發(fā)展環(huán)境。根據(jù)太陽報的說法,JSP可以適應(yīng)包括Apache WebServer,在85%的服務(wù)器產(chǎn)品在市場上的iis4.0。
本章將介紹JSP和數(shù)據(jù)庫的相關(guān)知識,以及JavaBean的相關(guān)內(nèi)容,當(dāng)然都是比較粗略的介紹其中的基本內(nèi)容,或者說僅僅是一個指南,如果讀者需要更詳細(xì)的信息,請參考相應(yīng)的JSP的書籍。
1.1推廣
JSP(Java Server Pages)是由Sun Microsystems公司發(fā)起的,參與建立的一種動態(tài)網(wǎng)頁技術(shù)標(biāo)準(zhǔn)結(jié)合在一起的許多公司,它有它在施工中的動態(tài)網(wǎng)頁的強(qiáng)但不特別的功能。JSP與ASP的微軟技術(shù)非常相似。兩者都提供的能力和一定的程序代碼和由語言引擎解釋執(zhí)行程序代碼的HTML代碼。下面我們簡單的對它進(jìn)行介紹。
JSP頁面轉(zhuǎn)換成servlet。所以,從根本上,JSP頁面能夠執(zhí)行的任何任務(wù)也可以通過servlet。然而,這種潛在的等價并不意味著servlets和JSP頁面中所有的場景都非常合適。問題不在于技術(shù)的能力,它是方便,生產(chǎn)力,和一個或其他的可維護(hù)性。畢竟,你能做的事情在特定平臺上的Java編程語言,你也可以在匯編語言。但事情你選擇。
JSP提供下述在servlet單獨(dú)的好處:
1)更容易編寫和維護(hù)的HTML。你的常規(guī)的HTML:沒有額外的反斜杠,沒有雙引號,也沒有在Java的語法。
2)你可以使用標(biāo)準(zhǔn)的網(wǎng)站開發(fā)工具。即使HTML工具,不知道JSP可以使用因為它們會忽略JSP標(biāo)簽。
3)你可以將你的開發(fā)團(tuán)隊。Java程序員可以工作于動態(tài)代碼。Web開發(fā)人員可以集中精力在表示層。對于大型的項目,這種分工是非常重要的。這取決于你的團(tuán)隊的大小和你的項目的復(fù)雜性,你可以執(zhí)行靜態(tài)HTML和動態(tài)內(nèi)容之間的較強(qiáng)或較弱的分離。
現(xiàn)在,這個討論是不是說你應(yīng)該停止使用servlets和JSP代替使用。絕不可能!幾乎所有的項目都將使用。在你的項目中的一些要求,您將使用servlet。對于其他人,你會使用JSP。還有些人,你將結(jié)合MVC架構(gòu)。你要適當(dāng)?shù)墓ぞ?,和servlets,自己,不完成你的工具包。
1.2 JSP源
Sun公司的JSP技術(shù),使得Web頁面開發(fā)人員可以使用HTML或者XML標(biāo)識設(shè)計和格式將結(jié)束頁。使用或者小腳本標(biāo)記成為未來生活的JSP頁面上的內(nèi)容的動態(tài)。(內(nèi)容根據(jù)變
收藏