Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Java server pages
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Java server pages

Java server pages

Fast&easy web development

Aneesha Bakharia

464 pages, parution le 01/08/2001

Résumé

Dynamic Web sites are now the norm, and developers will have to keep up to date to be competitive. JavaServer Pages Fast & Easy Web Development gives you everything you need to use JavaServer Pages to write and debug scripts, create tag libraries, use the Java Database Connector to create dynamic-database driven Web sites, and much more! If you are already familiar with other embedded tag-based server-side scripting languages such as ASP, PHP, and ColdFusion, you will have no trouble adapting to JavaServer Pages, and the step-by-step, visual approach of this book will get you up and running quickly.

Table of 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 a Tag to Display the Date
  • Creating a Tag that Accepts Attributes
  • Formatting the Body of a Tag
  • Manipulating the Body of a Tag
  • Using Existing Tag Libraries
  • Chapter 19 Creating an Employee Directory
  • Design Requirements
  • Designing the Employee Directory Database
  • Creating the Search Form
  • Processing the Search by Name Request
  • Processing the Search by Position Request
  • Processing the Search by Department Request
  • Administering the Employee Directory
  • 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
  • Index

L'auteur - Aneesha Bakharia

Aneesha Bakharia is a Web developer specializing in ASP and JavaScript. She has over 4 years of experience in developing database-driven Web sites and has built many such Web applications for Manhattan Multimedia. She is a tutor for an online Web development course at the University of Southern Queensland in Australia. She is an advanced user of Macromedia Dreamweaver and Drumbeat.

Caractéristiques techniques

  PAPIER
Éditeur(s) Prima Publishing
Auteur(s) Aneesha Bakharia
Parution 01/08/2001
Nb. de pages 464
Format 18,8 x 23
Couverture Broché
Poids 834g
Intérieur Noir et Blanc
EAN13 0086874534285

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription