|
JSTL in Action Shawn Bayern 2002 | 480 pages ISBN: 1930110529 |
|||
![]() |
$39.95 | Softbound print book | |
![]() |
$20.00 | PDF ebook | |
Source Code
| jstlbook.war | A WAR (ZIP) file of the book's examples plus an embedded database, ready to run in any JSP 1.2 container. To use this file, simply copy it into the appropriate directory for your JSP container (the webapps directory under Tomcat, for example). (2.6 Mb) |
| bayern_src.zip bayern_src.tar.gz |
A bundle that wraps 'jstlbook.war' inside the Tomcat container, making the package ready to run. See below for instructions on installing this bundle. (The files are the same, except that one's packaged as a ZIP and the other as a gzipped TAR file. ~5.2 Mb) |
Procedures for running the bundle:
1. Download the JDK (either 1.3 or 1.4) from Sun's site:
2. Set the environment variable JAVA_HOME to point to the directory to which you installed the JDK (for instance, "D:\j2sdk1.4.0"). On Windows, for this sample directory, the command is
SET JAVA_HOME=d:\j2sdk1.4.0On Unix, the command depends on your shell. It's typically either
JAVA_HOME=/path/to/j2sdk1.4.0
export JAVA_HOMEor
setenv JAVA_HOME /path/to/j2sdk1.4.03. Run bin/startup.bat (Windows) or bin/startup.sh (Unix) at the root of the ZIP or tar.gz file.
4. That's all -- Tomcat and the book's examples are running. You can access them at the following URL:
http://localhost:8888/
DESCRIPTION
| Visit the Author's book site: www.jstlbook.com |
JSTL is an important simplification of the Java web platform. With JSTL, page authors can now write dynamic pages using standard HTML-like tags and an easy-to-learn expression language. JSTL is a standard from the Java Community Process, and its expression language will become part of JSP 2.0.
JSTL in Action shows you how to write rich, dynamic web pages without programming. From simple loops to tricky XML processing, every feature of JSTL is covered and exercised in numerous useful examples. Whether you are a novice page author or an experienced Java programmer, this book shows you easy ways to create powerful web sites.
To help readers who don't already have a JSP container run the examples in the book, there's a free companion download here. This bundle contains a ready-to-run JSP container, a JSTL implementation, and all the book's examples.
What's Inside:
- Mixing HTML tags and JSTL
- JSTL's expression language
- Working with loops and conditions
- Painless XML processing
- Accessing databases
- Text formatting
- Internationalization
- JSTL configuration and performance
- Many examples including
- How to register and authenticate users
- Running an online survey
- How to build a discussion forum
- Designing a web portal
ABOUT THE AUTHOR...
Shawn Bayern is a research programmer at Yale University and coauthor of Manning's Web Development with Java Server Pages. He is the reference implementation lead for JSTL.

