【正文】
Produce the design of the tool and realize automatically on the basis of JSP webpage It is an important respect that Inter uses that Web develops technology, and JSP is the most advanced technology that Web is developed , it is present Web developer39。s firstselected technology. But because JSP has relatively high expectations for Web developer, a lot of general Web developers can not use this advanced technology . The discussion produces the design of the tool and realizes automatically on the basis of JSP webpage of the template and label storehouse, put forward concrete design philosophy and implementation method . With the popularization of WWW (World Wide Web ), the technology of the dynamic webpage is developed rapidly too. From original CGI (Common Gateway Interface ) to ASP (Active Server Page ), have met the webpage developer to the demand for developing technology of the dynamic webpage to a certain extent. But no matter CGI or ASP have certain limitation, for instance, consuming to resources of the server of CGI, ASP can only be used etc. with Microsoft IIS, all these have limited scope of application of the technology, have hindered their popularization greatly. The vast page developers all look forward to a kind of unified page and develop technology earnestly, characteristic that this technology there should be: ① Have nothing to do with the operating platform, can run on any Web or the application program server 。 ②Show the logic and page of application program that separates 。 ③ Offer codes to put in an position, simplify and develop the course based on interactive application program of Web. JSP (Java Server Page ) technology is designed and used for responding to the request that like this. JSP is developed technology by the new webpage that Sun MicroSystem Company put out in June of 1999, it is that Web based on Java Servlet and the whole Java system develops technology, and Servlet2. Expansion of 1API. Utilize this technology, can set up advancedly , safely and stepping dynamic websites of the platform . Java is the future mainstream to develop technology , have a lot of advantages . JSP is Java important application technology on Inter/Intra Web , get extensive support and admit, it can conbine with various kinds of Java technology together intactly , thus realize very plicated application. As a kind of technology of development based on text , taking showing as centre, JSP has offered all advantages of Java Servlet. Logic function in order to make sure and showing the function was separated , JSP can already work with JavaBeans , Enterprise JavaBeans (EJB ) and Servlet . The developer of JSP can finish the work that majority and website39。s logic are correlated with through using JavaBeans , EJB and Servlet , and only assign the work shown to JSP page to finish. Content and show advantage that logic separate lie in , upgrade person , page of appearance needn39。t understand Java code , the personnel upgrading Javas needn39。t be experts who design webpage either. This can define Web template in JSP page with Javas , in order to set up websites made up of a page with similar appearance. Java pletion data offer, have Java code among template, this mean template these can write by one HTML person is it maintain to e. JSP develops technology as the webpage of the mainstream at present, has the following characteristics: (1) Separate the formulation and showing of the content : Using JSP technology, the page developer of Web can use HTML or XML identification to design and format the final page . Use JSP identification or bound foot turn into dynamic content of page actually (whether content according to is it e change to ask). Produce logic of content of the identification and JavaBeans package , truss up of the little script encapsulation, all scripts run in the end of the server. If key logic among identification and JavaBeans, then other people, such as Web administrative staff and page designer encapsulation, can edit and use JSP page , and does not influence the formulation of the content . (2) Emphasize the reusable package : Most JSP pages depend on the reusable one, the package stepping the platform finish more plicated treatment with required application