Java Server Page

This page is http://

Count is blahbluh
Count is blahbluh

Introduction


MVC model


Basic JSP page


Deploying JSP pages


Request parameter

It is customary in a servlet to call the HttpServletRequest request parameter request. In JSP, that is its name:


Application objects


Forwarding control


Including another JSP page


Declarations


Mixing HTML and Java


Custom tags


Java Standard Tag Library


Standard tags

From The JavaTM Web Services Tutorial - Using JSTL
Area
Function
Tags
TLD
Prefix
Core
Expression Language Support
catch
out
remove
set
/jstl-c
c
Flow Control
choose
  when
  otherwise
forEach
forTokens
if
URL Management
import
  paramredirect
  param
url
  param
XML
Core
out
parse
set
/jstl-x
x
Flow Control
choose  when  otherwise
forEach
if
Transformation
transform
  param
I18n
Locale
setLocale
/jstl-fmt
fmt
Message formatting
bundle
message
  param
setBundle
Number and dateformatting
formatNumber
formatDate
parseDate
parseNumber
setTimeZone
timeZone
Database

setDataSource
/jstl-sql
sql
SQL
query
  dateParam
  param
transaction
update  dateParam
  param


Using JSTL tags


Expression language


JSTL Implicit objects

The EL (expression language) has a number of inbuilt variables including


JSTL and i18n


Expression variables


Summary

Java Server Pages act as the presentation end of a backend web application. They allow a mix of HTML and Java in various ways

References


Jan Newmarch <jan@newmarch.name>
Last modified: Tue May 17 21:26:55 EST 2005