Skip to main content

Posts

Showing posts from October, 2016

JSTL-JSP Standard Tag Library part 3

Java Standard Tag Library (JSTL) Groups: Although JSTL is officially named the Java Server Pages Standard Tag Library, it divides its tags into four groups and makes them available as separate tag libraries. The following table lists the different libraries, along with their URIs and prefixes: ThecoregroupoftagsarethemostfrequentlyusedJSTLtags. Note:EarlierJSTLversionsusedURI: http://java.sun.com/jstl/core  whichisnowrevisedtoabovespecifiedURI.

JSTL-JSP Standard Tag Library part 2

Evolution of JSTL-JSP Standard Tag Library As JSP grew in popularity, it became clear that different sites' custom tags fell into familiar, frequently used patterns. For example, many pages needed to loop over data to print tables and lists. Vendors of JSP containers and members of the open-source community tried to address these needs by providing collections of tags --tag libraries--that solved common problems. While many JSP page authors used these libraries, nothing tied them together. To address this fragmentation, the Java Community Process --the same group that now maintains and standardizes JSP itself --decided to offer a standard tag library. JSTL 1.0, to include tags for the following common tasks:          •Looping over data to produce tables, lists, etc.          •Conditional operations          •Importing and processing data from other web pages          •Simple XML manipulation          •Database access          •Text formatting and intern

JSTL-JSP Standard Tag Library part 1

Evolution of JSTL: Java is a flexible, general-purpose programming language, JavaServer pages(JSP) depends on java but hides some of the hard details of writing full- fledged programs.  The JSP Standards Tag Library(JSTL) builds on top of JSP, making it even easier to use. Architecture : In this figure large web applications are designed using java, JSTL, and othe components like databases. In large applications, it's common for requests from web browser to be handled by a java program called a servlet, which interacts with databases and other Java code on the server. The servlet figures out how it wants a response be printed and then forwards the user to the right JSTL page, which takes care of nothing more than presenting information. As JSP grew in popularity, it became clear that different sites' custom tags fell into familiar, frequently used patterns.  For example, many pages needed to loop over data to print tables and lists. Vendors of JSP c

dhoni's gift to sachin tendulkar