Special Edition Using Java™ Server Pages and Servlets

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

  1. Copyright
    1. Dedication
  2. About the Author
  3. Acknowledgments
  4. Tell Us What You Think!
  5. INTRODUCTION
    1. Who Should Buy This Book
    2. How This Book Is Organized
      1. Part I: Basic Servlets and Java Server Pages
      2. Part II: Core Components In-Depth
      3. Part III: Java Web Application Architecture
      4. Part IV: Taking JSP and Servlets Beyond HTML
      5. Part V: Advanced Techniques
      6. Appendixes
    3. Conventions Used in This Book
  6. I. Basic Java Server Pages
    1. 1. The Evolution of the Web Server
      1. The Basic Web Server
      2. CGI: The Common Gateway Interface
      3. NSAPI, ISAPI, and Other Loadable Modules
      4. Active Server Pages
      5. Servlets
      6. XML and XSL Stylesheets
      7. Java Server Pages
    2. 2. Getting Started with Java Server Pages
      1. A "Hello World" Java Server Page
      2. Using the <% %> Tags in a Java Server Page
      3. Displaying a Value with <%= %>
      4. Inserting Comments
      5. Declaring Methods and Variables with <%! %>
      6. Handling Multiple Threads in a JSP
      7. Troubleshooting
        1. Errors When Accessing the Page
        2. Compiler Errors
        3. Doesn't Show HTML
    3. 3. Getting Started with Servlets
      1. A "Hello World" Servlet
        1. Compiling the Servlet
        2. Runtime Classpath
        3. The HelloWorldServlet In-Depth
      2. The Anatomy of a Servlet
        1. The service Method
        2. The init Method
        3. The destroy Method
        4. The getServletInfo and getServletConfig Methods
      3. Sending a Response to the Browser
      4. The HttpServlet Class
      5. Choosing Between Java Server Pages and Servlets
        1. The Advantages and Disadvantages of JSP
        2. The Advantages and Disadvantages of Servlets
      6. Troubleshooting
        1. Can't Compile the Servlet
        2. The Servlet Won't Run
    4. 4. Creating HTML Forms
      1. A Simple HTML Form
      2. Using the request Object
        1. Handling Multiple Form Values
      3. Retrieving Form Variables in a Servlet
      4. JavaScript and Java Server Pages
        1. Passing Data to JavaScript
      5. Different Ways to Do Forms
        1. A Practical HTML and JSP Combination
        2. Setting Configuration Parameters
        3. Locking Output Files
      6. A JSP Input Form Calling a JSP Form Handler
      7. Using the Same JSP for the Input Form and Form Handler
        1. An Example Input Form and Form Handler JSP
      8. Troubleshooting
        1. Form and Form Variable Names
        2. JavaScript Problems
        3. File Locking Problems
    5. 5. Saving Data Between Requests
      1. Storing Data in Hidden Form Variables
        1. Security Concerns with Hidden Variables
      2. Storing Data in a session Object
        1. Using the session Object in a JSP
        2. Using the session Object in a Servlet
      3. How Sessions Work
      4. Forcing a New Session
      5. Handling Session Termination
        1. The HttpSessionBindingListener Interface
      6. Handling Sessions Without Cookies
        1. Disabling Cookies in Internet Explorer
        2. Disabling Cookies in Netscape
      7. Storing Application-Wide Data
        1. Why Do You Need the application Object?
      8. Troubleshooting
        1. Storing and Retrieving Data
        2. Cookie Settings
        3. URL Rewriting
    6. 6. Debugging and Error Handling
      1. Why Debugging Is Tough
      2. Using Log Files to Debug an Application
        1. Using System.out and System.err
        2. Using the Servlet Logging API
        3. Logging to a File
        4. Using Exceptions to Trace Execution
      3. Using a Debugger
        1. Debugging a Servlet with Tomcat
        2. Debugging a Java Server Page with Tomcat
      4. Error Handling
        1. Specifying an Error Page for a JSP
        2. Specifying Error Handlers for Web Server Errors
      5. Troubleshooting
        1. General Problems
        2. Logging Problems
        3. Debugging Problems
    7. 7. Organizing Your Application
      1. Including Other Files
        1. Including Files in a JSP at Runtime
        2. Passing Parameters to an Included File
        3. Including Files from a Servlet
      2. Forwarding to Another Page
        1. Forwarding to Another Page from a JSP
        2. Forwarding to Another Page from a Servlet
        3. Passing Parameters to the Forwarded Page
      3. Passing Java Objects Between JSPs and Servlets
      4. Making Your Application More Modular
        1. A Reusable HTML Table Module
      5. The Model-View-Controller Paradigm
        1. How Does Model-View-Controller Help?
        2. An Example Controller
        3. An Example View
      6. Calling Multiple Controllers and Views
      7. Using an Applet in Your Form
      8. Troubleshooting
        1. Compile Time Includes
        2. Run Time Includes
    8. 8. More About Saving Data
      1. Designing the Shopping Cart
        1. Creating the Data Objects
        2. Creating the ShoppingCart Class
        3. Displaying the Contents of the Shopping Cart
        4. Adding and Removing Items
          1. Passing the Item Object from the Browser
          2. Keeping Items in Memory
          3. Allowing Multiple Quantities
          4. Removing Shopping Cart Items
        5. Completing the Order
      2. Storing Data in a Cookie
        1. Using Cookies in Servlets and Java Server Pages
      3. Troubleshooting
        1. Shopping Cart Problems
        2. Cookies
    9. 9. Interacting with JavaBeans
      1. The <jsp:useBean> Tag
        1. Adding the Bean to the Page
        2. Getting Bean Properties
        3. Setting Bean Properties
        4. Setting Properties Directly from Parameters
        5. Initializing a New Bean
        6. The Type of an Existing Bean
      2. A Bean-Based Web Application
      3. Troubleshooting
        1. Scope Problems
        2. Bean Property Problems
        3. Making Changes
    10. 10. Performance
      1. Making Java Server Pages and Servlets Thread-Safe
      2. Buffering Pages to Improve Performance
      3. Caching Objects to Reduce Setup Time
      4. Precompiling Java Server Pages
      5. Simple Java Optimizations
        1. Use the StringBuffer class
        2. Parsing Numbers
        3. Creating Objects
      6. Troubleshooting
        1. Threading Problems
        2. Precompilation Problems
  7. II. Core Components in-Depth
    1. 11. JSP and Servlet Lifecycles
      1. Servlet Lifecycle
        1. Servlet Loading
        2. Servlet Initialization
        3. Servlet Execution
        4. Servlet Cleanup
      2. Java Server Page Lifecycle
        1. JSP Compilation
        2. JSP Loading
        3. JSP Initialization
        4. JSP Execution
        5. JSP Cleanup
      3. Reloading Other Classes
      4. Troubleshooting
        1. Init Method Trouble
        2. Reloading Classes
    2. 12. How the Browser Interacts with the Server
      1. The HTTP Protocol
        1. Viewing the Request Headers Made by a Browser
      2. Common Request Headers
        1. The Accept Header
        2. The Accept-Language Header
        3. The Accept-Charset Header
        4. The User-Agent Header
      3. Common Response Headers
        1. The Content-Type Header
        2. The Content-Length Header
        3. The Cache-Control Header
      4. The HTTP POST Command
      5. GET Versus POST
      6. HTTPS: Secure HTTP
      7. Troubleshooting
        1. Request Headers
        2. Running the Dumper Program
    3. 13. Core Servlet Components
      1. The ServletRequest Class
        1. Accessing Request Parameters
        2. Accessing Request Attributes
        3. Accessing Protocol-Related Information
        4. Retrieving Request Data
        5. Handling Uploaded Files
        6. Getting Locale Information
      2. The HttpServletRequest Class
        1. Getting Header Values
        2. Getting the HTTP Method
        3. Accessing the Query String
        4. Retrieving Cookies
        5. Getting Session Information
      3. The ServletContext Class
        1. Getting the Server Version
        2. Initialization Parameters
        3. Saving Application-Wide Objects
        4. Logging Messages
        5. Calling Other Servlets and JSPs
        6. Accessing Application Resources
      4. The ServletResponse Class
        1. Setting the Content Type and Length
        2. Opening an Output Stream
        3. Setting Locale-Specific Information
        4. Response Buffering
      5. The HttpServletResponse Class
        1. Setting Header Variables
        2. Redirecting the Browser
        3. Returning Status
        4. Encoding URLs
        5. Sending Cookies
      6. The ServletInputStream Class
      7. The ServletOutputStream Class
      8. The HttpSession Class
        1. Storing and Retrieving Objects
        2. Controlling Session Termination
        3. Getting Session Status
      9. The Cookie Class
      10. Creating a New Cookie
        1. Setting the Domain and Path
        2. Cookie Aging
        3. Secure Cookies
        4. Cookie Protocol Versions
        5. Cookie Comments
      11. Troubleshooting
        1. Header Values
        2. Logging Messages
        3. Cookies
    4. 14. Core Java Server Page Components
      1. The Built-In JSP Objects
        1. The request Object
        2. The response Object
        3. The out Object
        4. The session Object
        5. The application Object
        6. The pageContext Object
        7. The config Object
        8. The page Object
        9. The exception Object
      2. The JspWriter Class
        1. Sending Output Data
        2. Buffer Control
        3. Using a PrintWriter
      3. The PageContext Class
        1. Accessing the Built-In Objects
        2. Accessing Attributes from the PageContext Class
        3. Forwarding and Including
      4. The JspEngineInfo Class
      5. Troubleshooting
        1. Buffering Problems
        2. Include and Forward Problems
    5. 15. JSP Directives
      1. The page Directive
        1. The language Option
        2. The import Option
        3. The session Option
        4. The buffer and autoFlush Options
        5. The isThreadSafe Option
        6. The errorPage Option
        7. The isErrorPage Option
        8. The contentType Option
        9. The info Option
        10. The extends Option
      2. The include Directive
      3. The taglib Directive
      4. Troubleshooting
        1. page Directive Errors
        2. Problems with the Error Page
        3. Superclass Problems
  8. III. Java Web Application Architecture
    1. 16. Introduction to Application Architecture
      1. The Three Layers of an Application
        1. Application Tiers
        2. Applications Come Unglued Over Time
        3. Physical Versus Logical Tiers
        4. How Can You Have Half a Tier?
        5. What I Mean by "Tier"
      2. Single-Tiered Applications
      3. Two-Tiered Applications
      4. Three-Tiered Applications
      5. The Trade-Offs
        1. Application Complexity
        2. Maintainability
        3. Schedule Pressure
        4. Development Team Skill
        5. Miscellaneous Factors
      6. Hybrid Architectures
    2. 17. Browser-Server Interaction
      1. Designing Your Web Screens
      2. Redrawing the Entire Page
      3. Organizing the Presentation into Frames
      4. Sending Data to a Hidden Frame
        1. Sending Data to the Browser
        2. Handling Multiple Calls
      5. Troubleshooting
        1. Hidden Frames
        2. JavaScript Data
        3. Multiple Calls
    3. 18. A Single-Tiered Web Application
      1. Storing and Retrieving Data
      2. Locking a File
      3. Storing Data in a Text File
      4. Storing Data with Object Serialization
      5. Storing Data in a Random Access File
      6. Troubleshooting
        1. File Locking
        2. Serialization
    4. 19. Building a Two-Tiered Web Application
      1. Creating a Connection Pool
      2. Mapping Objects to Database Tables
        1. A Poor-Man's Object-to-Relational Mapping
        2. An Example Data Object
      3. A Two-Tiered Problem Reporting System
        1. The Login Screen
        2. The Main Menu
        3. Querying for Existing Problem Reports
        4. Creating and Updating Problem Reports
      4. Database Locking
      5. Building a Better Connection Pool
      6. Troubleshooting
        1. Using JDBC
        2. Connection Pools
    5. 20. Designing a Three-Tiered Application
      1. Stubs and Skeletons
      2. Single-Client Versus Multi-Client Objects
        1. Scalability
        2. Maintainability
        3. Striking a Balance
      3. Optimizing Data Access
      4. Database Locking
      5. Three-Tiered Application with Enterprise JavaBeans
    6. 21. Using RMI in a Web Application
      1. Using a Single RMI Object for All Requests
      2. Using One Object Per Browser Session
      3. An Example RMI Application
        1. The Database Interface
        2. The Remote Interfaces
        3. Implementing the ServiceRequests Interface
        4. Implementing the RemoteServiceRequest Interface
        5. Creating the Web Interface
        6. Editing Service Requests
      4. Troubleshooting
        1. Running rmic
        2. Running RMI Programs
    7. 22. Using CORBA in a Web Application
      1. Using One CORBA Object for All Sessions
      2. Using Separate CORBA Objects for Each Session
        1. Using CORBA Structs
        2. Dealing with Null Strings
        3. Alternatives to Null
      3. An Example CORBA Application
      4. Troubleshooting
        1. Compiling IDL to Java
        2. Running CORBA Programs
    8. 23. Using Enterprise JavaBeans in a Web Application
      1. What Is Enterprise JavaBeans?
        1. Entity and Session Beans
        2. Containers
        3. Persistence
        4. Transactions
        5. Connection Pooling
        6. Object Pooling
      2. How EJB, Servlets, and Java Server Pages Fit Together
      3. Creating an Entity Bean
        1. Creating the Entity Bean Implementation
        2. Creating the Home Interface
        3. Creating the Remote Interface
      4. Creating a Session Bean
      5. Creating a Stateless Session Bean
      6. Accessing EJBs from Java Server Pages
      7. Packaging a Complete EJB and JSP Application
      8. Troubleshooting
        1. EJB Problems
        2. JSP and EJB Problems
  9. IV. Taking JSP and Servlets Beyond HTML
    1. 24. Creating an XML Application
      1. A "Hello World" XML Page
        1. Sending XML from a Java Server Page
        2. Sending XML from a Servlet
      2. A Few Simple Rules for XML
      3. Why Use XML with JSP and Servlets?
        1. Automatically Generated XML
        2. Parsing XML with SAX and DOM
          1. Parsing XML Using SAX
          2. Parsing XML Using DOM
          3. Parsing XML Using JOX
      4. Troubleshooting
        1. Generating XML from a JSP
        2. Using the Sun XML Libraries
        3. Using JOX
    2. 25. Adding XSL Stylesheets to Enhance an XML Application
      1. What Is XSL?
      2. A Simple XSL Stylesheet
      3. Navigating an XML Document with XPath
      4. Applying XSL Templates on the Browser
      5. Applying XSL Templates from a Servlet
      6. JSP or Stylesheets?
      7. Troubleshooting
        1. Translator Problems
    3. 26. Creating a Wireless Web Application
      1. A Wireless "Hello World" Page
        1. Viewing the Wireless Hello Page
      2. A Brief Introduction to WML
        1. Navigating Between Cards
        2. Creating Input Forms
        3. Processing Form Input
      3. Detecting Wireless Clients in a JSP or Servlet
      4. A Wireless Score Entry and Reporting System
        1. Deploying the Scores Application
      5. Troubleshooting
        1. Running with the Simulator
        2. Running with a Real Phone
    4. 27. Creating On-the-Fly Graphics
      1. Images Aren't Just Static Files
      2. Sending Images from a Servlet
      3. Uploading Images to a Servlet from Java
      4. Uploading Images to a Servlet from a Browser
      5. Performing Online Image Processing
        1. Adding Captions to Images
        2. Embossing Images
        3. Edge Detection
        4. Lighting Effects
      6. Troubleshooting
        1. Refresh Problems
        2. Performance Problems
  10. V. Advanced Techniques
    1. 28. Packaging a JSP Application
      1. A Simple WAR File Example
      2. Installing a WAR File Under Tomcat
      3. Installing a WAR File Under JRun
      4. WAR Configuration Options
        1. General Application Options
          1. display-name
          2. description
          3. distributable
          4. context-param
          5. mime-mapping
          6. welcome-file-list
          7. error-page
          8. session-config
        2. Servlet Options
          1. servlet
          2. servlet-mapping
        3. Others
      5. Troubleshooting
        1. Installation Problems
    2. 29. Extending JSP with New Tags
      1. A "Hello World" Tag
      2. Packaging and Installing a Tag
      3. Conditional Includes Using Custom Tags
      4. Accessing Tag Attributes
      5. Processing Body Content with a Custom Tag
      6. Adding Scripting Variables
      7. Troubleshooting
        1. Install Problems
        2. Attribute Values
        3. Body Tags
        4. Scripting Variables
    3. 30. Internationalization
      1. Detecting the Browser's Preferred Locale
      2. Using Locale-Based Text Formatters
        1. Creating a Locale Object
        2. Formatting Dates
        3. Formatting Currency
        4. Getting a Locale for a Browser's Preferred Language
      3. Using Resource Bundles in Web Pages
      4. Troubleshooting
        1. Testing Multi-Lingual Web Sites
        2. Locating Resource Bundles
    4. 31. Security
      1. Role-Based Security
      2. Basic Authentication
        1. The <security-constraint> Tag
        2. The <login-config> Tag
      3. Creating a Custom Login Form
      4. Checking Security Roles Programmatically
      5. Using Client Certificates for Authentication
      6. Troubleshooting
        1. Authentication Problems
        2. Certificate Problems
    5. 32. XML Syntax for JSP
      1. The XML JSP Syntax
      2. The HelloWorld JSP in XML
      3. Translating XML JSP Syntax
      4. Troubleshooting
        1. Running XML-JSP Files Directly
        2. Running the XMLToJSP Program
    6. A. JSP Syntax and API Reference
      1. JSP Syntax
        1. Code Scriptlets
        2. Expressions
        3. Declarations
        4. Comments
        5. Directives
          1. The page Directive
          2. The include Directive
          3. The taglib Directive
        6. Built-In Objects
        7. Actions
          1. <jsp:forward>
          2. <jsp:getProperty>
          3. <jsp:include>
          4. <jsp:param>
          5. <jsp:plugin>
          6. <jsp:setProperty>
          7. <jsp:useBean>
        8. XML Syntax
        9. Root Document
        10. Code Scriptlets
        11. Expressions
        12. Declarations
        13. Directives
        14. Tag Libraries
      2. Java Server Pages API
        1. javax.servlet.jsp
          1. Interfaces
          2. Classes
          3. Exceptions
        2. javax.servlet.jsp.tagext
          1. Interfaces
          2. Classes
    7. B. Servlet API Reference
      1. The javax.servlet API
        1. Interfaces
          1. RequestDispatcher
            1. forward
            2. include
          2. Servlet
            1. destroy
            2. getServletConfig
            3. getServletInfo
            4. init
            5. service
          3. ServletConfig
            1. getInitParameter
            2. getInitParameterNames
            3. getServletContext
            4. getServletName
          4. ServletContext
            1. getAttribute
            2. getAttributeNames
            3. getContext
            4. getInitParameter
            5. getInitParameterNames
            6. getMajorVersion
            7. getMimeType
            8. getMinorVersion
            9. getNamedDispatcher
            10. getRealPath
            11. getRequestDispatcher
            12. getResource
            13. getResourceAsStream
            14. getServerInfo
            15. getServlet
            16. getServletNames
            17. getServlets
            18. log
            19. removeAttribute
            20. setAttribute
          5. ServletRequest
            1. getAttribute
            2. getAttributeNames
            3. getCharacterEncoding
            4. getContentLength
            5. getContentType
            6. getInputStream
            7. getLocale
            8. getLocales
            9. getParameter
            10. getParameterNames
            11. getParameterValues
            12. getProtocol
            13. getReader
            14. getRealPath
            15. getRemoteAddr
            16. getRemoteHost
            17. getRequestDispatcher
            18. getScheme
            19. getServerName
            20. getServerPort
            21. isSecure
            22. removeAttribute
            23. setAttribute
          6. ServletResponse
            1. flushBuffer
            2. getBufferSize
            3. getCharacterEncoding
            4. getLocale
            5. getOutputStream
            6. getWriter
            7. isCommitted
            8. reset
            9. setBufferSize
            10. setContentLength
            11. setContentType
            12. setLocale
          7. SingleThreadModel
        2. Classes
          1. GenericServlet
            1. destroy
            2. getInitParameter
            3. getInitParameterNames
            4. getServletConfig
            5. getServletContext
            6. getServletInfo
            7. getServletName
            8. init
            9. log
            10. service
          2. ServletInputStream
            1. readLine
          3. ServletOutputStream
            1. print
            2. println
        3. Exceptions
          1. ServletException
            1. ServletException Constructor
            2. getRootCause
          2. UnavailableException
            1. UnavailableException Constructor
            2. getUnavailableSeconds
            3. isPermanent
      2. The javax.servlet.http API
        1. Interfaces
          1. HttpServletRequest
            1. getAuthType
            2. getContextPath
            3. getCookies
            4. getDateHeader
            5. getHeader
            6. getHeaderNames
            7. getHeaders
            8. getIntHeader
            9. getMethod
            10. getPathInfo
            11. getPathTranslated
            12. getQueryString
            13. getRemoteUser
            14. getRequestedSessionId
            15. getRequestURI
            16. getServletPath
            17. getSession
            18. getUserPrincipal
            19. isRequestedSessionFromCookie
            20. isRequestedSessionFromURL
            21. isRequestedSessionIdValid
            22. isUserInRole
          2. HttpServletResponse
            1. addCookie
            2. addDateHeader
            3. addHeader
            4. addIntHeader
            5. containsHeader
            6. encodeRedirectURL
            7. encodeURL
            8. sendError
            9. sendRedirect
            10. setDateHeader
            11. setHeader
            12. setIntHeader
            13. setStatus
          3. HttpSession
            1. getAttribute
            2. getAttributeNames
            3. getCreationTime
            4. getId
            5. getLastAccessedTime
            6. getMaxInactiveInterval
            7. invalidate
            8. isNew
            9. removeAttribute
            10. setAttribute
            11. setMaxInactiveInterval
          4. HttpSessionBindingListener
            1. valueBound
            2. valueUnbound
        2. Classes
          1. Cookie
            1. Cookie Constructor
            2. clone
            3. getComment
            4. getDomain
            5. getMaxAge
            6. getName
            7. getPath
            8. getSecure
            9. getValue
            10. getVersion
            11. setComment
            12. setDomain
            13. setMaxAge
            14. setPath
            15. setSecure
            16. setValue
            17. setVersion
          2. HttpServlet
            1. doDelete
            2. doGet
            3. doOptions
            4. doPost
            5. doPut
            6. doTrace
            7. getLastModified
            8. service
          3. HttpSessionBindingEvent
            1. HttpSessionBindingEvent Constructor
            2. getName
            3. getSession
          4. HttpUtils
            1. getRequestURL
            2. parsePostData
            3. parseQueryString
    8. C. Apache and Tomcat
      1. Where to Get Tomcat
      2. Installing Tomcat
        1. Installing Tomcat on Windows
          1. Unpacking Tomcat with WinZip
          2. Unpacking Tomcat from the Command Line
          3. Testing the Installation
        2. Installing Tomcat on Linux or UNIX
      3. Running Tomcat Standalone
      4. Running Tomcat Under Netscape Server for Windows
      5. Running Tomcat Under IIS
      6. Running Tomcat Under Apache
        1. Running Tomcat with Apache for Windows
        2. Running Tomcat with Apache for Linux
      7. Tomcat Configuration
      8. Working Directory
      9. Logging
      10. Setting the Classpath
      11. Authentication
      12. Special Tomcat Features
        1. WAR File Installation
        2. JSP Compiler
    9. D. JRun
      1. Where to Find JRun
      2. Installing JRun for Windows
      3. Installing JRun for Linux
      4. Starting JRun
      5. JRun Administration
      6. Connecting JRun to Other Web Servers
        1. Connecting JRun to IIS or PWS
        2. Connecting JRun to Netscape Web Server
        3. Connecting JRun to Apache
      7. Using JRun as a Standalone Web Server
      8. Working Directory
      9. Installing Web Applications
      10. Setting the Classpath
      11. Log Files
      12. JRun Special Features
    10. E. ServletExec
      1. Where to Get ServletExec
      2. Installing the ServletExec ISAPI Plug-In
      3. Installing the ServletExec NSAPI Plug-In
      4. Installing the ServletExec Standalone Server for Windows
      5. Installing the ServletExec Standalone Server for Linux/UNIX
      6. ServletExec Administration
      7. Working Directory
      8. Installing Web Applications
      9. Log Messages
      10. Setting the Classpath
      11. ServletExec Special Features
    11. F. Resin
      1. Where to Get Resin
      2. Installing Resin on Windows
        1. Unpacking Resin with WinZip
        2. Unpacking Resin from the Command Line
        3. Testing the Installation
      3. Installing Resin on Linux/UNIX
      4. Running Resin Standalone
      5. Running Resin Under Another Web Server
      6. Running httpd or srun as Windows NT Services
      7. Resin Administration
      8. Working Directory
      9. Installing Web Applications
      10. Logging
      11. Setting the Classpath
      12. Adding Authentication Users
      13. Resin Special Features
        1. JavaScript Java Server Pages
        2. XSL

Product information

  • Title: Special Edition Using Java™ Server Pages and Servlets
  • Author(s): Mark Wutka
  • Release date: October 2000
  • Publisher(s): Que
  • ISBN: 9780789724410