JSP Weekend Crash Course

JSP Weekend Crash Course

By (author) 

List price: US$24.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Learn JSP fast! With JSP Weekend Crash Course, you can get up to speed on developing dynamic Web sites using Java Server Pages in a single weekend! JSP Weekend Crash Course explains how to use Java Server Pages to deliver dynamic web content. It explains client-server architecture, installing a JSP development environment, and how to write JSP servlets. Other important topics include: handling exceptions and errors in JSP; effectively using JSP with Java Beans, XML, and JavaScript; tracking users with sessions and cookies; and using the JDBC to set up, connect, and access a database from a JSP web page.
show more

Product details

  • Mixed media product | 333 pages
  • 190.5 x 236.22 x 22.86mm | 566.99g
  • Hungry Minds Inc,U.S.
  • Foster City, United States
  • English
  • 0764547968
  • 9780764547966

Table of contents

Preface. Acknowledgments. Friday. PART I - Friday Evening. Session 1 JSP Overview/Web Architecture Explained. Understanding the Evolution of Web Architecture. Client/Server Architecture. N-Tier Architecture. Learning About CGI and ASP. Exploring Servlets. Session 2 Installing and Configuring the JSP Development Environment. Installing the JDK. Downloading and Installing Tomcat. Configuring Tomcat. Starting and Stopping Tomcat. Site Directories. Modifying server.xml and web.xml. Running the examples. Troubleshooting the Web Server Installation. Session 3 Servlets: An Introduction. Understanding What Servlets Do. Creating a Basic Servlet. Learning How JSP Pages Work with Servlets. Session 4 JSP and HTML Combined. Separating JSP from HTML. Understanding Expressions. Writing Scriptlets. Declarations. Directives. Saturday. PART II - Saturday Morning. Session 5 Using JSP Scriptlets. Writing a Scriptlet. The JspWriter Object. The scriptletCalendar.jsp Example. Coding Java Blocks. Servlet Code for scriptletCalendar.jsp. Session 6 The JSP Page Directive. Learning About the Page Directive Attributes. Storing Information About a Page. Setting Up Error Pages. Changing MIME Content Types. Session 7 HTML Forms: A Walkthrough. Getting Acquainted with HTML Forms. Common Attributes. Name. ID. Class. Style. Action. Method. Enctype. OnSubmit. Examining Form Inputs. Text Input. Password Input. Checkbox Input. Radio-button Input. Button Input. File Input. Textarea Input. Select Input. Hidden. Additional Keywords. Session 8 Working with Form Data in JSP. Processing Forms. Accessing Single Select and Radio Button Values. Using Multiple Select Boxes and Checkboxes. Accessing Form Elements: Another Method. Session 9 Using an Editor to Develop JSP. Exploiting the Power of an Editor. Using Allaire's HomeSite. Using HomeSite to develop JSP. Customizing the JSP Color Code. Auto-completion, tag completion, and tag insight. The JSP Toolbar. Generating a Servlet Template. Session 10 Handling Exceptions and Errors in JSP. Understanding Exception Handling. Debugging JSP. Translation-Time Errors. Runtime Errors. PART III - Saturday Afternoon. Session 11 Introducing JavaBeans. Understand the Rules for Using JavaBeans. JavaBeans Defined. Creating the Vegetable Bean. Developing JavaBeans. Session 12 JavaBeans and JSP. Including a Bean in a JSP Page. Working with Bean Properties on JSPs. Setting Properties on Beans. A Bean Example: Creating an Order Display Page. property="". Session 13 Advanced Techniques for Working with Beans. Sharing Beans. page. request. session. application. Creating Beans Conditionally. Session 14 JSP and JavaScript. Using JSP to Populate JavaScript. Creating the FruitMap.java Class. Creating Basket.jsp. Session 15 Cookies. Learning the Cookie API. Creating Cookies on the Fruit-of-the-Month Club. Personalized Greeting. Session 16 Tracking Users with Sessions. Understanding the Session Tracking API. Canine Website Example. Java Classes Used for the Example. JSP Pages for the Example. Working with Sessions and Cookies. PART IV - Saturday Evening. Session 17 Building a Shopping Cart. Coding the Necessary Java Classes. Extracting Data from a Class. Implementing the Shopping Cart. Session 18 Includes and Forwards. Understanding Server-Side Includes. @include Directive. jsp:include Element. Using Includes in Site Forms. Conditional Logic in form.jsp. Understanding Forwards. jsp:forward. Session 19 HTTP Requests and Responses. Understanding HTTP Requests. Using the Referer Header Variable. Exploring the Anatomy of an HTTP Response. Anatomy of a Server Response. Status Codes. Using Response Headers. Triggering Errors with the Response Object. Session 20 Introduction to JDBC. Setting Up the Fruit.mdb Database. Connecting Your Database in JSP Pages. Executing the query. Closing open connections. Sunday. PART V - Sunday Morning. Session 21 Introduction to SQL. Building the SQL Statements for the Fruit-of-the-Month Club Administrative Interface. The SELECT statement. The INSERT Statement. The UPDATE Statement. The DELETE statement. Session 22 Working with Databases in JSP. Connecting to the Database. Viewing a Fruit. Adding a Fruit. Deleting Fruits. Viewing Fruit for Sale. Adding Fruit for Sale. Session 23 Advanced Techniques for Working with JDBC. Embedding Database Code in a Java Class. FruitConnect.java. View Fruit. Add Fruit. Delete Fruit. View Fruit for Sale. Add Fruit for Sale. Using Connection Pools. Session 24 JSP Application Architecture: The Model-View-Controller Pattern. Understanding the Architecture of a JSP. Implementing MVC. Examining an MVC Application. Writing the Controller. The View. Deploying the MVC Shopping Cart. Session 25 XML Described. Learning XML Concepts. Exchanging Information. Writing Well-Formed Documents. Working with Document Type Definitions. Attributes versus Child Elements. Session 26 XML and JSP. Learning the Basics of XSLT Syntax. A Rule for the Root Element. Defining Rules by Element Name. Some More XSL Tags. Setting Up the Example Environment. PART VI - Sunday Afternoon. Session 27 Working with Tag Libraries. Understanding the Need for Custom tags and taglibs. Creating a Hello World Custom tag. Coding the tag Library. Coding the Handler Class. Calling the tag Library from a JSP Page. Deploying the Tag Library. Session 28 Tag Libraries: Attributes and Tag Bodies. Processing Body Text. Embedding tags in JSP. Adding Attributes to Custom Tags. Session 29 Tag Libraries: Bodies. Manipulating the tag Body. Processing the tag Body. Making Modifications. Session 30 The Apache Struts Framework. Installing Struts. Coding the View. Coding the Application Model. Configuring the Struts Controller. Running the Application. Appendix A Answers to Part Reviews. Appendix B What's on the CD-ROM? Index. Hungry Minds, Inc. End-User License Agreement. CD-ROM Installation Instructions.
show more

About Geremy Kawaller

Geremy Kawaller is a software developer with IBM William Massie is a senior consultant with SilverStream Andrew Utter is a software engineer with Invertica
show more