1、 中文 3837 字 基于 JSP 网页自动生成工具的设计与实现 Produce the design of the tool and realize automatically on the basis of JSP web page 学 院: 计算机与信息科学学院 专 业: 信息与计算科学 2 Produce the design of the tool and realize automatically on the basis of JSP web page Alfred V.Aho and John E.Hopcroft It is an important respect that
2、 Internet uses that Web develops technology, and JSP is the most advanced technology that Web is developed, it is present Web developers first-selected technology. But because JSP has relatively high expectations for Web developer, a lot of general Web developers can not use this advanced technology
3、. The discussion produces the design of the tool and realizes automatically on the basis of JSP web page 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 web page is
4、 developed rapidly too. From original CGI (Common Gateway Interface) to ASP (Active Server Page), have met the web page developer to the demand for developing technology of the dynamic web page to a certain extent. But no matter CGI or ASP have certain limitation, for instance, consuming to resource
5、s 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 t
6、his 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 pro
7、gram 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 web page that Sun Micro System Company put out in June of 1999, it is that Web based on Java Serv-let and the whole Java system develops technology
8、, and Servlet2. Expansion of 1API. Utilize this technology, can set up advanced, 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 Internet/Intranet Web, get extensive s
9、upport and admit, it can conbine with various kinds of Java technology together intactly, thus realize very complicated application. As a kind of technology of development based on text, taking showing as centre, JSP 3 has offered all advantages of Java Servlet. Logic function in order to make sure
10、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 websites logic are correlated with through using JavaBeans, EJB and Servlet, and only assign the work shown to JSP page to f
11、inish. Content and show advantage that logic separate lie in, upgrade person, page of appearance neednt understand Java code, the personnel upgrading Javas neednt be experts who design web page either. This can define Web template in JSP page with Javas, in order to set up websites made up of a page
12、 with similar appearance. Java completion data offer, have Java code among template, this mean template these can write by one HTML person is it maintain to come. JSP develops technology as the web page of the mainstream at present, has the following characteristics Separate the formulation and show
13、ing 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 come change to ask). Produce logic of conten
14、t 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 d
15、oes not influence the formulation of the content . Emphasize the reusable package: Most JSP pages depend on the reusable one, the package stepping the platform finish more complicated treatment with required application program. Benefitting from the independence of operating platform of Java, the de
16、veloper can be very convenient to share and exchange and carry out the ordinary package that operated, or make these packages used by more users. The method based on package has accelerated the total development course, the efficiency of improving the project and developing wholly greatly. Though JS
17、P is powerful, it requires the web page developer should be quite familiar with Java. There are still relatively few Java programmers now, for general web page developer, the grammar of JSP is more difficult to grasp. So, need a kind of web page developing instrument and offer commonly used JSP application to general web page developer, is it understand general page develop developer of technology (HTML) can use strong function of JSP too only to let.