JSTL Tutorials and Online Training

JSTL (JSP Standard Tag Library) is very promising technology and it allows the web developer to create powerful web application without using scriptlets.

JSTL Tutorials and Online Training

JSTL Tutorials and Online Training

     

JSTL (JSP Standard Tag Library)  is very promising technology and it allows the web developer to create powerful web application without using scriptlets. This JSTL Online training at RoseIndia.Net will help you learn JSTL quickly.

This JSTL tutorial at RoseIndia.Net introduces you with the JSTL - Java Standard Tag Libraries. JSTL online tutorial will help you quick start the development using powerful JSTL Tag Libraries. By using JSTL you will make your JSP program more reusable and more readable. In this tutorial you will find everything you need to know about JSTL. 

Browse through the follow topics to learn JSTL fast.

  1. Introduction to JSTL - JSP Standard Tag Library 
    What is JSP JSTL and its benefits?
    History of JSTL ( about Jakarta Taglibs project) (jstl-history.shtml)
    Why JSTL?
    What are the disadvantages of JSTL?
    Overview of all the JSTL tags
    JSTL Versions (jstl-versions.shtml)
    JSTL Tags Quick Example (jstl-tags.shtml)
    JSTL Example to clean up scriptlets
    New Features in EL 2.0
      
  2. Downloading and Installing the JSTL
    Downloading JSTL
    Configuring JSTL (jstl-configuration.shtml)
    Configuring JSTL on Tomcat (jstl-tomcat.shtml)
    Configuring JSTL on WebLogic Server
    Configuring JSTL on Websphere (jstl-websphere.shtml)
    Configuring JSTL on Geronimo Application Server (jstl-geronimo.shtml)
    Configuring JSTL on JBoss
    Configuring JSTL on Oracle Application Server
    Configuring JSTL on JEE Glash Fish application Server
    Hello World JSTL
      
  3. JSTL Implicit Objects
      
  4. Core JSTL Tags
      
  5. Example of Variable Support Tags of JSTL Core Tag Library
      
  6. Example of Flow Control Tags of JSTL Core Tag Library
     
  7. Using tag <c:redirect> of Core JSTL tags
    In this example we have used Core JSTL tag <c:redirect> that is used to redirect the page to given url, here param is used to get parameter from request.
      
  8. Using <c:forEach> tag of Core JSTL tags
    In this example we have used Core JSTL tag <c:forEach> that is used to get values from an array, here paramValues returns an array of String type of request.
      
  9. Retrieve data from database by using sql tag of JSTL SQL library
    Here in this section we will see how retrieve data from database using sql query given by user. To execute query first create a data source and then execute sql query for that data source.
      
  10. Insert data in database by using sql tag of JSTL SQL library
    Here in this section we are going to create application that update database by inserting data given by user. To update database first create a data source and then execute insert sql query for that data source.
      
  11. Execute database query by using sql tag of JSTL SQL library
    Here in this section we are going to create application that execute sql query given by user using JSTL SQL Library. To execute query first create a data source and then execute sql query for that data source.
      
  12. Create URL using <c:url> tag of JSTL Core tag library
    Here in this example we are going to create a url according to the user's given parameter by using <c:url> tag.
      
  13. Use of <c:catch> tag of Core JSTL tags
    In this example we have used Core JSTL tag <c:catch> that is used to handle exception generated during run time. Here we will create a simple calculator to divide two numbers, if user enters values instead a digit, it shows a error message as a response.
     
  14. Use of <sql:transaction> tag of jstl
    Here in this section we are going to create application that how to group queries and update operations by using <sql:transaction> tag of jstl.
      
  15. Format date/time using <fmt:formatDate> tag of jstl
    Here in this section we will explain how to format date/time as per user requirment by using <fmt:formatDate> tag of JSTL.
      
  16. Use of <x:set> tag of JSTL
    In this section we will learn how to use <x:set> tag of Xml tag library of Jstl. This tag is used to define variable and also initialize it.
      
  17. Use of <x:parse> tag of JSTL
    In this section we will learn how to use <x:parse> tag of  Xml tag library of Jstl. This tag is used to parse the specified xml document.
      
  18. Use of <x:out> tag of JSTL
    In this section we will learn how to use <x:out> tag of Xml tag library of Jstl. This tag is used to show the content as output for the given XPath expressions.
     
  19. Use of <x:if> tag of JSTL
    In this section we will learn how to use <x:if> tag of Xml tag library of Jstl. This tag is used for selection of statements.
     
  20. Use of <x:forEach> tag of JSTL
    In this section we will learn how to use <x:forEach> tag of Xml tag library of Jstl. This is xml iteration tag, can be used to retrieve values from xml document.
      
  21. Use of <x:choose> tag of JSTL
    In this section we will learn how to use <x:choose> tag of Xml tag library of Jstl. This tag is used to perform conditional operations marked by <when> and <otherwise> tags.
     
  22. Use of <x:param> tag of JSTL
    In this section we will learn how to use <x:param> tag of  Xml tag library of Jstl. This tag is used to add parameter to transform tag. When user want to transform more than one xml files then we will use <x:param> tag, to add xml files in transform tag.
     
  23. Use of <x:transform> tag of JSTL
    In this section we will learn how to use <x:parse> tag of  Xml tag library of Jstl. This tag is used to transform the specified xml document. With the use of this tag we can display data from xml document in a format that is already defined in .xslt file.
      
  24. JSTL EL Overview
    Expressions
    Identifiers
    Operators
    Type Coercion
    Literal Values
    Implicit Objects
    Method invocation
    EL Expression in custom actions
      
  25. General purpose and conditional actions
    General purpose actions c:out, c:set, c:remove, c:catch
    Conditional action
    Using conditional and general-purpose actions together
     
  26. Iteration Tags 
    c:for Each action
    c:forTokens action
    Iteration status
    Custom Iteration actions
     
  27. URL Actions
    c:import action
    c:redirect action
    c:url action
    c:param action
    Accessing external resource from JSTL tags
      
  28. Formatting actions
    Formatting and parsing numbers
    Formatting and parsing dates and times with DateTime
    Using Time Zone
    Determining a formatting locale
      
  29. Database actions with the DBTags Library
    How JSTL locates data sources
    Creating data sources
    Querying and updating a database
    Executing database transactions
    Implementing database custom actions
    Using the DBTags and Input tag libraries together to create data-bound forms
      
  30. File IO with IO Library
    Using IO tags to read text and bytes
    Using IO tags to write text and bytes
    Using IO tags for other file IO operations
      
  31. XML Manipulation Tags
    Understanding XML and related technologies (XML, DTD, Schemas, XLS and XPath)
    XML action overview
    XPath overview
    Parsing XML
    Using scoped variables in XPath instructions
    Transforming XML with XSLT
    Filtering XML
    Accessing external entities
      
  32. Additional useful tag library in JSTL
    Validating forms and data with the Regexp tag lib
    Using the Request and Response taglib to facilitate easier handling of JSP requests and response
    Using the session and Application taglibs
    Generating random numbers and strings with the Random taglib
    Sending email with the Mailer taglib
    Extracting Content from documents on the web with the scrape taglib
    Example to manipulate the String with the String taglib