tailieunhanh - UNIT 6. NETWORKING DOCUMENTS AND DATABASES LESSON 4. DYNAMIC WEBSITES: JAVA SERVER PAGES (JSPS) AND SERVLETSNOTE
Servlets have several key advantages compared with the older technology of CGI. They are more efficient, and allow several things to be done easily that are difficult or impossible with regular CGI. One major feature is that Servlets can talk directly to the web server; this simplifies operations that need to look up images and other data stored in standard places. Servlets are written in Java and follow a wellstandardized API (Application Programming Interface). They can be deployed with almost every commercial and open source web server, including Apache and Microsoft IIS. . | Information Management Resource Kit Module on Management of Electronic Documents UNIT 6. NETWORKING DOCUMENTS AND DATABASES LESSON 4. DYNAMIC WEBSITES JAVA SERVER PAGES JSPS AND SERVLETS NOTE Please note that this PDF version does not have the interactive features offered through the IMARK courseware such as exercises with feedback pop-ups animations etc. We recommend that you take the lesson using the interactive courseware environment and use the PDF version for printing the lesson and to use as a reference after you have completed the course. FAO 2003 6. Networking documents and databases - 4. Dynamic websites Java Server Pages JSPs and Servlets - page 1 Objectives At the end of this lesson you will be able to understand the advantages of using Java technologies distinguish the different functions of Servlets Java Server Pages and JavaScripts. Introduction We could work with Java technologies I heard that they offer several benefits Java introduced by Sun Microsystems in 1995 is a programming language highly suited to the distributed environment of the Internet. Java Servlets and Java Server Pages JSPs were introduced to facilitate and standardize the use of Java in the web server. Today Java Servlet and JSP technology play an important role in web development. 6. Networking documents and databases - 4. Dynamic websites Java Server Pages JSPs and Servlets - page 2 Java technologies To start we have to distinguish between these different Java technologies Servlets Java programs that run on a web server and dynamically generate a response to a web browser request. Typically this is an HTML page but it may also be an image document spreadsheet etc. Java Server Pages JSPs text files containing HTML tags and Java codes. JSPs simplify the building of dynamic web pages by allowing the programmer to directly insert Java into regular HTML pages. The web server then automatically converts JSPs into Servlets. Please don t confuse JSPs with. JavaScript an interpreted .
đang nạp các trang xem trước