Jsp http server implementation effect

Source: Internet
Author: User

1. server-side execution results

The following are the execution results of the jsp http server on the Win32 and JDK 1.6.0 platforms:

Execution result graph of jsp http Server

Lists the classes currently loaded by the jsp http server. When a client request contains a JSP file, the server interprets the JSP file and compiles it into a class file. The server then loads the instance of this type of object through this class, and puts the instance into Hashtable for management. When the client requests the same JSP file again, if the server determines that the JSP file is not updated, it directly calls the Instance Object of the class corresponding to the class to process the request, instead of loading it repeatedly.

Note: To run the system on the Solaris platform, you must first install JDK. The current JDK version that supports Solaris is 1.6.0. Make sure that you have the permission to create a socket and read the directory where the service page is located.

2. Client execution results

The following figure shows the result of accessing the jsp http server through TheWorld browser v1.40:

Result diagram of client browser access to jsp http Server

Jsp http Server JSP source code snippet

The login. JSP file reads and displays the information submitted by the client on the previous page. In JSP code, the getParameter interface of the Request member is used to read and output the client parameters.

  1. Analysis on CGI supported by jsp http Server
  2. Use JSP pages to generate PDF reports
  3. Step for customizing JSP labels
  4. Detailed test of JSP containers
  5. Describes the following features of jsp http Server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.