This is a collection of samples demonstrating the usage of different parts of the Java Server Pages (JSP) specification.
These examples will only work when these pages are being served by a servlet engine; of course, we recommend Tomcat. They will not work if you are viewing these pages via a "file://..." URL.
To navigate your way through the examples, the following icons will
help:
![]() |
Execute the example |
![]() |
Look at the source code for the example |
![]() |
Return to this screen |
Tip: For session scoped beans to work, the cookies must be enabled.
This can be done using browser options.
Numberguess | ![]() |
![]() |
Date | ![]() |
![]() |
Snoop | ![]() |
![]() |
ErrorPage | ![]() |
![]() |
Carts | ![]() |
![]() |
Checkbox | ![]() |
![]() |
Color | ![]() |
![]() |
Calendar | ![]() |
![]() |
Include | ![]() |
![]() |
Forward | ![]() |
![]() |
Plugin | ![]() |
![]() |
JSP-Servlet-JSP | ![]() |
![]() |
Simple custom tag example | ![]() |
![]() |
Send mail example | ![]() |
![]() |
XML syntax example | ![]() |
![]() |