【正文】
tent and show advantage that logic separate lie in , upgrade person , page of appearance needn39。 ②Show the logic and page of application program that separates 。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 。 ③ 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。t understand Java code , the personnel upgrading Javas needn39。s own one, is it is it put up to go again by oneself to need , save construction period in user , facilitate use of user. In this system , classify the page according to the function type , sum up the monly used page type, produce the template storehouse. Storehouse technology of the label In JSP, movements can create and visit the language target of the procedure and influence the element exported and flowed. JSP has defined six standard movements. Except six standard movement these, user can define own movement finish the specific function. These movements are known as the customer movement, they are the reusable procedure module . Through movement these, programmer can some encapsulation stand up too display function of page in JSP page, make the whole page more succinct and easier to maintain. In a JSP page, movements were transfered through the customer label in these customers. And the label storehouse (Tag Library ) is the set of the customer label. JSP label storehouse is that one kind produces the method based on script of XML through JavaBeans. It is one of the greatest characteristics of JSP. Through the label storehouse , can expand JSP application unrestrictedly , finish any plicated application demand. JSP label storehouse has the following characteristic: ① Easy to use: The labels in JSP and general HTML marks are totally the same in