Class 2 |
Intermediate Java 30-IT-397 |
|
JSP Scriptlets
-
If you need to write more than one line, use a scriptlet.
-
Scriptlets are contained between <% and %> tags.
-
Scriptlets have access to the same variables as expressions.
-
You can do more with scriptlets - access a database, change the response
header, etc.
Example

Created by: Brandan Jones
December 17, 2001