Testing Result of RegForm.jspx

This section describes the testing result of RegForm.jspx, where values are passed from one JSP page to another using different approaches.

Visit the RegForm.jspx JSP page with a browser, you will get a page similar to this:

Registration Form:

Login Name:
Password:
Favor Color:

Your session ID is 2B20E475CA7B0FFC4C2E752ABF24C772
Last user on the server: Nobody

Then fill in the form with

Login Name: Herong
Password: Secret
Favor Color: Red

Click the Submit button, you will get the output of RegDone.jspx page:

Thank you registering with us:
Login Name: Herong
Password: Secret
Favor Color: Red
Your session ID is 2B20E475CA7B0FFC4C2E752ABF24C772
Last user on the server: Herong

Then close your browser, and start it again to visit RegForm.jsp, you will get:

Registration Form:

Login Name:
Password:
Favor Color:

Your session ID is A497631211582DE3799223EEF31BCF4F
Last user on the server: Herong

A number of interesting notes on the testing results:

Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

 Tomcat Installation on Windows Systems

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

 Syntax of JSP Pages and JSP Documents

JSP Application Session

 What Is a Session

 The "session" Implicit Object

 Passing Values between JSP Pages

Testing Result of RegForm.jspx

 Using Perl LWP Package for Debugging

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

 Managing HTTP Response Header Lines

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

 Overview of JSTL (JSP Standard Tag Libraries)

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

 File Upload Test Application

 Using Tomcat on CentOS Systems

 Using Tomcat on macOS Systems

 Connecting to SQL Server from Servlet

 Developing Web Applications with Servlet

 Archived Tutorials

 References

 Full Version in PDF/EPUB