Abstract
The previous chapter introduced using JavaBeans within your JSP pages to help separate Java code from the presentation template, which is the HyperText Markup Language (HTML) page. Now you’re going to take this idea a step further and see how you can encapsulate your Java code inside custom tags. These tags are similar to the set of JSP tags you’ve been using. The only difference is that you get to define their behavior by attaching special tag handlers to them.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2004 Andrew Patzer, Matthew Moodie
About this chapter
Cite this chapter
Patzer, A. (2004). Role Separation with Custom Tags. In: Moodie, M. (eds) Foundations of JSP Design Patterns. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0736-8_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0736-8_4
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-411-7
Online ISBN: 978-1-4302-0736-8
eBook Packages: Springer Book Archive