The step by step explanation of code and images in this book, will enable you to get a greater level of understanding on how JSP works? The book tried to explain some JSP core subject like JSTL tags, expressions, EL, etc. from grass root level. This edition has demonstrated examples on how to write template text in client side languages like JavaScript, HTML, CSS, and so on. To make JSP more interactive, real-time code execution option is also given. While for beginners key concepts of JSP is made easy to grasp.
With a lot of example and coverage given, this book can be a learning guide for J2EE exams. It will answer all your JSP queries. The users will not struggle anymore with error handling, implementing caching strategies or re-using code across pages after going through this book. The book is small but loaded with vital information on JSP.
Table Of Content
Chapter 1: Introduction
1. What is JSP?
2. Why use JSP?
3. Advantages of JSP
Chapter 2: JSP Life Cycle
Chapter 3: Install JSP with Jboss Server & Java
1. Install Java
2. Install Jboss Server
3. Installation Testing
4. Your First JSP
Chapter 4: Elements
1. JSP Declaration
2. JSP Syntax
3. JSP Expression
4. JSP Comments
5. Creating a simple JSP Page
6. How to run simple JSP Page
7. Directory Structure of JSP
Chapter 5: Actions
1. Directives
2. Page directive
3. Implicit objects
4. Action
Chapter 6: Expression Language (EL)
1. Syntax of Expression Language (EL)
2. If-else
3. Switch
4. For loop
5. While loop
6. Operators
Chapter 7: Exception Handling
1. JSP Exception
2. Checked Exceptions
3. Runtime Exceptions
4. Error Exception
Chapter 8: MVC
1. MVC architecture
2. Example of MVC architecture
Chapter 9: Tag Library
1. What is JSTL
2. JSTL Core
3. JSP Custom Tags
Chapter 10: Action - File Upload, JSP Filter, Client Request, Server Response, Cookies Handling, Date Handling
1. Client Request
2. Server Response
3. HTTP Status Codes
4. Form Processing
5. Filter
6. Cookies Handling
7. File Upload
8. Date Handling
Chapter 11: Database connection
1. Create Table
2. Create Records
3. JSP Operations: Insert, Update, Delete, Select
Chapter 12: JSP Example
1. Registration form
2. Login and Logout form
3. Uploading and download file
Chapter 13: Debug JSP Using Java Logger, Println statements & Debugging tools
1. JSP Debugging Methods
2. Using println statements
3. Using Java Logger
4. Using debugging tools