【正文】
ge and use of data collection linked to each other. JSP技術(shù)發(fā)展史Java Server Pages(JSP)是一種基于web的腳本編程技術(shù),類似于網(wǎng)景公司的服務(wù)器端Java腳本語言—— serverside JavaScript(SSJS)和微軟的Active Server Pages(ASP)。 hand over with each other, and the manifestation result in dynamic state bornly, mixing with the HTML page of the static state HTML Beans can be JavaBeans or module of , the more plicated 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 contentses 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 , the visitant that is the website requests a JSP page, under the condition of it is not knowing, an already born, the Servlet actual full general that prepared to edit and translate pletes all works, very concealment but again and Servlet is to edit and translate of, so the code of JSP in the web page does not need when the every time requests that page is engine of JSP need to be edit and translate after Servlet the code end is modify only once, then this Servlet that editted and translate can be carry in view of the fact JSP engine auto is born to edit and translate the Servlet also, need not procedure member begins to edit and translate the code, so the JSP can bring vivid sex that function and fast developments need that you are efficiently.Compared with the traditional CGI, the JSP has the equal , 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 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 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 the technique of JSP can bine a lot of JSP pages to bee a Web application procedure very expediently.Database Management SystemA database may be defined as a collection of interrelated data stored together with as little redundancy as possible to serve one or more applications in an optimal fashion。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 , have some engines of JSP are adoptive other script languageses, such as the EMAC Script, WebL 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 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.C. JSP mechanismTo prehend the JSP how unite the technical advantage that above various speak of, e 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 ASPses are all in several year agos 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 kind of model that take page as the center studies and gets the very fast development , 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 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 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 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 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 contentses knot to the server to put but speech, apply the plexity of the procedure along with the Web to promote continuously, the development method that take page as the center limits sex to bee 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 customer39。s provided a special development environment for the Web application that establishes the high dynamic to the Sun parlance, the JSP can adapt to include the Apache WebServer, 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.A. GeneralizeThe JSP(Java Server Pages) is from the pany of Sun Microsystems initiate, the many panies the participate to the build up the together of the a kind the of