Preview

Java Sevelets Tutorial

Powerful Essays
Open Document
Open Document
11567 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Java Sevelets Tutorial
JSP Standard Tag Library (JSTL) Tutorial
The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.
JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating existing custom tags with JSTL tags.
The JSTL tags can be classified, according to their functions, into following JSTL tag library groups that can be used when creating a JSP page: 1. Core Tags 2. Formatting tags 3. SQL tags 4. XML tags 5. JSTL Functions
Install JSTL Library:
If you are using Apache Tomcat container then follow the following two simple steps: 1. Download the binary distribution from Apache Standard Taglib and unpack the compressed file. 2. To use the Standard Taglib from its Jakarta Taglibs distribution, simply copy the JAR files in the distribution's 'lib' directory to your application's webapps\ROOT\WEB-INF\lib directory.
To use any of the libraries, you must include a <taglib> directive at the top of each JSP that uses the library.
Core Tags:
The core group of tags are the most frequently used JSTL tags. Following is the syntax to include JSTL Core library in your JSP: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
There are following Core JSTL Tags: Tag | Description | <c:out > | Like <%= ... >, but for expressions. | <c:set > | Sets the result of an expression evaluation in a 'scope' | <c:remove > | Removes a scoped variable (from a particular scope, if specified). | <c:catch> | Catches any Throwable that occurs in its body and optionally exposes it. | <c:if> | Simple conditional tag which evalutes its body if the supplied condition is true. | <c:choose> | Simple conditional tag

You May Also Find These Documents Helpful

  • Satisfactory Essays

    LAb1Ecet230

    • 221 Words
    • 3 Pages

    4. What is “JTAG” and why is it used? Be sure to cite your sources.…

    • 221 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    This document is a functional document set for that web design project. It follows the…

    • 3806 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    NT2670 Week2 Research 3

    • 752 Words
    • 3 Pages

    Server Side Includes (SSI) SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.…

    • 752 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    unit3lab1

    • 7639 Words
    • 49 Pages

    Use the HTML 5.1 specification and the documents on Web Platform Docs to research three semantic tags.…

    • 7639 Words
    • 49 Pages
    Satisfactory Essays
  • Good Essays

    The Joint Technical Architecture (JTA) was developed by the Department of Defense (DoD). It serves as an essential supporting document to the Technical Architecture View for various other architecture frameworks. The purpose of the JTA is to improve system interoperability, facilitate information transfer and processing, and support cost effective commercial standards and products. Implementation of the JTA is mandatory for the management, development, and acquisition of all new and upgraded systems throughout the DoD.…

    • 347 Words
    • 2 Pages
    Good Essays
  • Best Essays

    ITEC 610 Assingement 1

    • 1424 Words
    • 4 Pages

    Trippe, Waldt (2008). Using XML and Databases: W3C Standards in Practice. White Paper sponsored by EMC2 Retrieved from: http://xml.coverpages.org/Gilbane-EMC-WaldtTrippe-XML-andDatabases.pdf…

    • 1424 Words
    • 4 Pages
    Best Essays
  • Good Essays

    Web standards include recommendations for HTML, XHTML, Cascading style sheets, Dom, and the standardized version of…

    • 425 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Professional Development

    • 2037 Words
    • 9 Pages

    The tags drop down box contains your most popular Tags. More Tags can be added by selecting all Tags from the list or at the final stage of the creation process.…

    • 2037 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    A metatag is a special HTML tag which provides information about a Webpage. Metatags don’t affect how the page looks, unlike normal HTML tags. Instead, they provide information such as who created the page, how often it’s updated, what the page is about, and which keywords represent the page’s content.…

    • 1449 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Reporting in Java

    • 2672 Words
    • 11 Pages

    Figure 1: General Report Template title appears only once at the very beginning of the report. Title of the report is written in this part. eg. “Employee Performance Report” pageHeader appears at the top of each page. This…

    • 2672 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Geoserver Developer

    • 3041 Words
    • 13 Pages

    2.1 Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .…

    • 3041 Words
    • 13 Pages
    Satisfactory Essays
  • Good Essays

    Website report

    • 518 Words
    • 4 Pages

    Minor changes were made in order to change the syntax of the code to Java.…

    • 518 Words
    • 4 Pages
    Good Essays
  • Good Essays

    With the introduction of control structures we are going to have to introduce a new concept: the compound-statement or block. A block is a group of statements which are separated by semicolons (;) like all C++ statements, but grouped together in a block enclosed in braces: { }:…

    • 283 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Short forStandard Generalized Markup Language, a system for organizing and tagging elements of a document. SGML was developed and standardized by the International Organization for Standards (ISO) in 1986. SGML itself does not specify any particular formatting; rather, it specifies the rules for tagging elements. These tags can then be interpreted to format elements in different ways.…

    • 707 Words
    • 3 Pages
    Good Essays

Related Topics