Book description
Special Edition Using JSP and Servlets starts by detailing the evolution of web servers that led to the creation of ASP and JSP. It explains both the limitations of previous technologies and the benefits that JSP provides including platform independence. Includes coverage of: organizing applications with multiple files and client-side objects, generating well-formed XML using JSP, storing data in cookies and sessions, interacting with Enterprise Java Beans, displaying dynamic graphics with Java 2D, and using RMI and Corba to enhance JSP applications. The final chapters demonstrate advanced JSP & Servlet techniques, including using JSP to create wireless & XML-based applications. Appendices provide an overview of popular JSP & Servlet runtime environments, including Jrun, Tomcat and ServletExec.
Table of contents
- Copyright
- About the Author
- Acknowledgments
- Tell Us What You Think!
- INTRODUCTION
-
I. Basic Java Server Pages
- 1. The Evolution of the Web Server
- 2. Getting Started with Java Server Pages
- 3. Getting Started with Servlets
- 4. Creating HTML Forms
- 5. Saving Data Between Requests
- 6. Debugging and Error Handling
- 7. Organizing Your Application
- 8. More About Saving Data
- 9. Interacting with JavaBeans
- 10. Performance
-
II. Core Components in-Depth
- 11. JSP and Servlet Lifecycles
- 12. How the Browser Interacts with the Server
- 13. Core Servlet Components
- 14. Core Java Server Page Components
- 15. JSP Directives
-
III. Java Web Application Architecture
- 16. Introduction to Application Architecture
- 17. Browser-Server Interaction
- 18. A Single-Tiered Web Application
- 19. Building a Two-Tiered Web Application
- 20. Designing a Three-Tiered Application
- 21. Using RMI in a Web Application
- 22. Using CORBA in a Web Application
- 23. Using Enterprise JavaBeans in a Web Application
-
IV. Taking JSP and Servlets Beyond HTML
- 24. Creating an XML Application
- 25. Adding XSL Stylesheets to Enhance an XML Application
- 26. Creating a Wireless Web Application
- 27. Creating On-the-Fly Graphics
-
V. Advanced Techniques
- 28. Packaging a JSP Application
- 29. Extending JSP with New Tags
- 30. Internationalization
- 31. Security
- 32. XML Syntax for JSP
- A. JSP Syntax and API Reference
-
B. Servlet API Reference
-
The javax.servlet API
-
Interfaces
- RequestDispatcher
- Servlet
- ServletConfig
- ServletContext
-
ServletRequest
- getAttribute
- getAttributeNames
- getCharacterEncoding
- getContentLength
- getContentType
- getInputStream
- getLocale
- getLocales
- getParameter
- getParameterNames
- getParameterValues
- getProtocol
- getReader
- getRealPath
- getRemoteAddr
- getRemoteHost
- getRequestDispatcher
- getScheme
- getServerName
- getServerPort
- isSecure
- removeAttribute
- setAttribute
- ServletResponse
- SingleThreadModel
- Classes
- Exceptions
-
Interfaces
-
The javax.servlet.http API
-
Interfaces
-
HttpServletRequest
- getAuthType
- getContextPath
- getCookies
- getDateHeader
- getHeader
- getHeaderNames
- getHeaders
- getIntHeader
- getMethod
- getPathInfo
- getPathTranslated
- getQueryString
- getRemoteUser
- getRequestedSessionId
- getRequestURI
- getServletPath
- getSession
- getUserPrincipal
- isRequestedSessionFromCookie
- isRequestedSessionFromURL
- isRequestedSessionIdValid
- isUserInRole
- HttpServletResponse
- HttpSession
- HttpSessionBindingListener
-
HttpServletRequest
- Classes
-
Interfaces
-
The javax.servlet API
- C. Apache and Tomcat
- D. JRun
-
E. ServletExec
- Where to Get ServletExec
- Installing the ServletExec ISAPI Plug-In
- Installing the ServletExec NSAPI Plug-In
- Installing the ServletExec Standalone Server for Windows
- Installing the ServletExec Standalone Server for Linux/UNIX
- ServletExec Administration
- Working Directory
- Installing Web Applications
- Log Messages
- Setting the Classpath
- ServletExec Special Features
-
F. Resin
- Where to Get Resin
- Installing Resin on Windows
- Installing Resin on Linux/UNIX
- Running Resin Standalone
- Running Resin Under Another Web Server
- Running httpd or srun as Windows NT Services
- Resin Administration
- Working Directory
- Installing Web Applications
- Logging
- Setting the Classpath
- Adding Authentication Users
- Resin Special Features
Product information
- Title: Special Edition Using Java™ Server Pages and Servlets
- Author(s):
- Release date: October 2000
- Publisher(s): Que
- ISBN: 9780789724410
You might also like
book
J2EE™ Platform Web Services
Build robust, scalable, end-to-end business solutions with J2EE™ Web Services. This is the definitive practitioner's guide …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Advanced JavaServer Pages™
Design and implement flexible, extensible, and maintainable applications with servlets and JSP technology Master powerful authentication …
book
JavaServer Pages, 3rd Edition
JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, …