Skip to main content

Role Separation with Custom Tags

  • Chapter
  • 145 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Editor information

Matthew Moodie

Rights and permissions

Reprints 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

Publish with us

Policies and ethics