Download presentation
Presentation is loading. Please wait.
Published byUrsula Sparks Modified over 9 years ago
1
JSP Tag Library CSCI 4300 Notes from Steve Small, http://www.javaworld.com/javaworld/jw- 02-2003/jw-0228-jstl.html
2
What is the Tag library? Creates additional XML-style tags Provide programming functionality with (somewhat) less mess Standard tag library: –Core functions (output, control statements) –Formatting –Internationalization –SQL
3
Installing the standard library Download and install JSTL support in Tomcat Declare in web.xml: http://java.sun.com/jstl/core /WEB-INF/c.tld Include taglib descriptor file c.tld in WEB-INF
4
Core STL Example Parameter values passed to this page for each parameter: Param and paramValues are global Map vars from Web container
5
JSP Expression Language Similar to PHP or Perl string interpolation ${variable-name} = value of that variable ${anObject.aProperty} ${anObject["aPropertyName"]} ${anObject[aVariableContainingPropertyName]}
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.