SWE 432: Java Server Page Examples


Date and Time

  1. Run the JSP
  2. Date and time source

Date and Details

  1. Run the JSP
  2. Date example source
  3. Bean example

Count to 10

  1. Run the JSP
  2. JSP source
  3. Java version (Nov 2012)

Printing letters in black and white

  1. Run the JSP
  2. First letter print JSP source
  3. Java version (Nov 2012)

Printing letters in color

  1. Run the JSP
  2. Letter print JSP source
  3. AlphabetCode bean source

Demonstration of Java Bean use

  1. HTML page
  2. JSP source
  3. Language Bean source

Fibonacci Series

  1. Run the JSP
  2. JSP source
  3. Bean
  4. Exception handler
  5. Java version (Nov 2012)

Fibonacci Series with bug

  1. Run the JSP
  2. JSP source
  3. Bean

Counting in different scopes

  1. Run the JSP
  2. JSP source
  3. Java version of JSP
  4. Counter Bean source
  5. Forwarding, session and application scopes