Programming Jakarta Struts, 2nd Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Programming Jakarta Struts, 2nd Edition [Electronic resources] - نسخه متنی

Chuck Cavaness

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








Chapter 8. JSP Custom Tag Libraries


Support for custom actions (also called custom tags) within
JSP was introduced in the JSP 1.1 specification. This feature allows
developers to extend the available tags beyond what JSP alone
provides for. The custom tags are grouped together into tag
libraries, which can be reused across applications.

The Struts framework takes advantage of
the tag library feature of JSP to include several different
categories of tags that help to make the presentation layer more
manageable and reusable. Using the Struts custom tag libraries,
developers are able to interact with the rest of the framework
without including Java code in the JSP pages.

This chapter provides an overview of the different categories of tags
available in the Struts framework and how they can make developing
applications even easier. This chapter is not meant to be an
exhaustive reference for every tag that's part of
the Struts tag librariesthat information can be found within
the Struts user guide or JavaDocs. The real purpose of this chapter
is to put forth the benefits of using the Struts tag libraries and to
provide a few strategies that can help make the switch to using the
tags less painful.

Finally, this chapter will touch upon several new specifications that
were approved during 2003 that are intended to help standardize some
of the more commonly used custom tags and tag usages. This, in turn,
will make applications built using these tags even more portable
across containers and frameworks.


    / 181