Chapter 6. Formatting Data with Tags

printer-friendly version of this section  Print  e-mail this section  E-Mail  add a public, group or private note  Add Note  add a bookmark about this section  Add Bookmark    

JSTL: JSP Standard Tag Library Kick Start
By Jeff Heaton

Table of Contents


Chapter 6. Formatting Data with Tags

JSTL provides several tags that greatly simplify the formatting and parsing of data. Tags are provided that allow you to format numbers, percents, dates, and currencies. By using these tags, you can fine-tune the output of your data, without the need for customized display programming.

Web applications must frequently process data entered by a user. Data from a user always arrives as a string. However, this string is often a number, date, percentage, or other data type. JSTL provides parsing tags that enable you to take the strings a user enters and parse them into other data types.

In this chapter, we examine both of these issues. We provide several examples that illustrate practical application of data formatting and parsing. We begin by examining the process of data formatting.


    printer-friendly version of this section  Print  e-mail this section  E-Mail  add a public, group or private note  Add Note  add a bookmark about this section  Add Bookmark    
    Top

    [0672324504/ch06]

     
     


    JSTL. JSP Standard Tag Library Kick Start
    JSTL: JSP Standard Tag Library Kick Start
    ISBN: 0672324504
    EAN: 2147483647
    Year: 2001
    Pages: 93
    Authors: Jeff Heaton

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net