Cover image for JavaServer Pages Fast & Easy Web Development.
JavaServer Pages Fast & Easy Web Development.
Title:
JavaServer Pages Fast & Easy Web Development.
Author:
Bakharia, Aneesha.
Personal Author:
Physical Description:
1 online resource (480 pages)
Contents:
Contents -- Introduction -- Chapter 1 Introducing JavaServer Pages -- An Overview of JavaServer Pages -- How Do JavaServer Pages Work? -- The Advantages of Using JSP -- Making the Transition from ASP to JSP -- Chapter 2 Getting Started -- Installing the Java Development Kit -- Setting the CLASSPATH Variable -- Installing JRun Developer Edition -- Selecting a JSP Editor -- Writing Your First JSP Page -- Chapter 3 Understanding JSP Basics -- Using the Expression Tag -- Using the Declaration Tag -- Declaring Integer Variables -- Declaring String Variables -- Declaring Methods -- Using the Scriptlet Tag -- Commenting Your Code -- Using Implicit Variables -- Chapter 4 Performing Calculations -- Performing Basic Mathematical Operations -- Changing the Order of Precedence -- Using Increment and Decrement Operators -- Working with Mathematical Functions -- Generating Random Numbers -- Displaying the Current Date and Time -- Formatting the Date -- Formatting the Time -- Formatting the Date and Time -- Chapter 5 Working with Strings and Arrays -- Working with Strings -- Determining the Length of a String -- Combining Strings -- Comparing Strings -- Changing the Case of Strings -- Removing Leading and Trailing Spaces -- Searching for Text -- Replacing Characters -- Replacing Text -- Working with Arrays -- Processing an Array -- Working with Vectors -- Chapter 6 Working with Decisions and Loops -- Using Boolean Expressions -- Using Logical Operators -- Using the if…else Statement -- Using the if…else if Statement -- Using the switch Statement -- Using the for Loop -- Using the while Loop -- Using the do…while Loop -- Using the break Statement -- Using the continue Statement -- Chapter 7 Object-Oriented Programming -- What is Object-Oriented Programming? -- Understanding Classes and Objects -- Instance Variables -- Methods -- Creating a Class.

Creating an Employee Class -- Using the Employee Class in a JSP Page -- Inheritance -- Chapter 8 Handling Exceptions -- Exceptions versus Errors -- Using try-catch to Handle Exceptions -- Catching Common Exceptions -- Creating an Error Page in JSP -- Specifying an Error Page for Your Web Application -- Chapter 9 Using JavaBeans -- What is a JavaBean? -- Creating a Simple JavaBean -- Using JSP Tags to Manipulate JavaBean Properties -- Creating a JavaBean to Calculate Simple Interest -- Using the Simple Interest JavaBean -- Understanding JavaBean Scope -- Using a JavaBean to Retrieve and Process Forms -- Creating the Form -- Assigning Form Data to JavaBean Properties -- Using Commercial JavaBeans -- Chapter 10 Retrieving Information from a User -- Creating HTML Forms -- Inserting a Text Entry Field -- Inserting a Password Field -- Inserting a Multi-Line Text Entry Field -- Inserting Radio Buttons -- Inserting Check Boxes -- Inserting Drop-Down Boxes -- Inserting Hidden Form Fields -- Submitting a Form -- Resetting a Form -- Processing a Form -- Retrieving Environmental Variables -- Creating a Multiple-Choice Quiz -- Creating the Quiz Form -- Grading the Quiz -- Validating User Input -- Validating Empty Fields -- Validating E-Mail Addresses -- Validating Numeric Data -- Chapter 11 Sending E-Mail Messages -- Using the JavaMail API -- Sending E-Mail -- Sending a Simple E-Mail Message -- Sending Blind and Carbon Copies of an E-Mail Message -- Working with E-Mail Forms -- Creating an E-Mail Form -- Processing an E-Mail Form -- Sending HTML-Formatted E-Mail Messages -- Chapter 12 Working with Files and Folders -- Displaying File Attributes -- Listing the Contents of a Directory -- Reading a File -- Writing a File -- Appending Data to a File -- Creating a Guestbook -- Displaying the Guestbook -- Appending the Guestbook Entry to a File.

Chapter 13 Creating Interactive Web Pages -- Greeting Your Visitors -- Displaying Random Text -- Generating Random Images -- Using the Include Directive -- Forwarding Requests -- Generating Microsoft Word Documents -- Generating Microsoft Excel Spreadsheets -- Creating Dynamic Images -- Drawing a Line -- Drawing Rectangles -- Drawing Ovals -- Rendering Text -- Changing the Font -- Generating Dynamic Image Banners -- Displaying the Image Banner -- Drawing Bar Charts -- Chapter 14 Persisting User Information -- Using Cookies -- Creating a Cookie -- Reading a Cookie -- Deleting a Cookie -- Using Cookies to Remember Login Details -- Using Sessions -- Creating a Session Variable -- Reading a Session Variable -- Deleting a Session -- Using Sessions to Password-Protect Your Web Site -- Chapter 15 Working with Databases -- What is JDBC? -- Setting up a System DSN for an Access Database -- Connecting to a Database -- Using SQL to Query a Database -- Specifying the Fields Returned in a Query -- Defining Search Criteria -- Using Boolean Search Criteria -- Searching for a Range of Values -- Wildcard Searching -- Retrieving Distinct Records -- Using the Column Aggregate Functions -- Sorting Records -- Performing Multi-Table Queries -- Displaying Records in a Table with Alternate Row Colors -- Working with Prepared Statements -- Displaying Summary Search Results and Linking to Full Records -- Linking to a Full Record -- Displaying a Full Record -- Inserting Records -- Updating Records -- Deleting Records -- Creating Paged Search Results -- Chapter 16 XML and JSP -- What is XML? -- Creating an XML Document -- Using JSP to Generate an XML Document -- Generating XML from a Database -- Using XSL to Format an XML Document -- Creating an XSL Style Sheet -- Specifying an XSL Style Sheet -- Using JSP and Xalan to Perform XSL Transformations.

Chapter 17 Working with Servlets -- Creating a Basic Servlet -- Processing Forms -- Generating Images -- Servlets versus JSP -- Integrating Servlets and JSP -- Chapter 18 Creating Custom Tags -- What Is a Tag Library? -- Creating a Simple Tag Library -- Creating the Tag Handler Class -- Creating the Tag Library Descriptor File (TLD) -- Using the Tag Library -- Creating a Tag to Display the Date -- Creating the Tag Handler Class -- Creating the Tag Library Descriptor File -- Using the Tag Library -- Creating a Tag that Accepts Attributes -- Creating the Tag Handler Class -- Creating the Tag Library Descriptor File -- Using the Tag Library -- Formatting the Body of a Tag -- Creating the Tag Handler Class -- Creating the Tag Library Descriptor File -- Using the Tag Library -- Manipulating the Body of a Tag -- Creating the Tag Handler Class -- Creating the Tag Library Descriptor File -- Using the Tag Library -- Using Existing Tag Libraries -- Using the JRun Custom Tag Library -- Chapter 19 Creating an Employee Directory -- Design Requirements -- Designing the Employee Directory Database -- Creating the Search Form -- Searching by Name -- Searching by Position -- Searching by Department -- Processing the Search by Name Request -- Processing the Search by Position Request -- Processing the Search by Department Request -- Administering the Employee Directory -- Creating the Insert Form -- Processing the Insert Form -- Creating the Update Form -- Processing the Update Form -- Creating the Delete Form -- Processing the Delete Form -- Chapter 20 Creating an Online Store -- The Fundamentals of an Online Store -- Designing a Database for an Online Store -- Building the Product Class -- Building the Shopping Cart JavaBean -- Displaying the Product Catalog -- Viewing the Shopping Cart -- Emptying the Shopping Cart -- Building the Checkout Page.

Processing the Purchase -- Testing the Online Store -- Appendix A: HTML Quick Reference -- Appendix B: JSP Quick Reference -- Appendix C: Additional Resources -- Appendix D: What's on the CD-ROM -- Running the CD-ROM with Windows 95/98/2000/Me/NT -- The Prima User Interface -- Using the Left Panel -- Using the Right Panel -- Resizing and Closing the User Interface -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W -- X.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: