Introduction to JSP
- A Look at the layout of the JSP page
- How a JSP is processed 9 How to design a JSP application with MVC
- Deploying application in Tomcat web server
Table of Contents
- JSP page layout
- JSP Processing
- JSP Application Design
- Tomcat Server
- Dynamic Content Generation
- Scripting elements in JSP
- Implicit JSP Objects
- Conditional processing
- Expressions in JSP
- Variable and Methods Declaration
- Error Handing and Debugging
- Request Data management
- Session Data management
- Application data management
- Memory usage considerations
Part 1: Introduction to JSP
- Problem with servlet
- JSP Page
- JSP Processing
- JSP Application Design with MVC
- Tomcat Server
Problems with Servlets
- Servlets contain
- request processing
- business logic
- response generation
- all lumped together!
- Problems:
- good Java knowledge is needed to develop and maintain the application
- changing look and feel or a new client type require changes to the servlet code
- cannot use web page development tools
- HTML code for layout has to be manually embedded into the servlet code
- JSP helps to separate the business logic and request processing from presentation