by admin | Jul 15, 2018 | jsp
JSP custom tag provides flexibility to programmers, to declare their own tag. Thus, a user-defined tag can be created through custom tags to perform various operations. These custom tags behave as operations on tag handler when JSP page is translated into servlet....
by admin | Jul 15, 2018 | jsp
In JSTL, the purpose of function tags is similar to the various string methods in Java. Hence, these tag performs common string manipulation operations. Functional tag is represented by following URL: – <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"...
by admin | Jul 15, 2018 | jsp
In JSTL, XML tags are used for creating and manipulating xml documents. The following syntax represent the URL of XML tag: – <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %> 123 <%@ taglib uri="http://java.sun.com/jsp/jstl/xml"...
by admin | Jul 15, 2018 | jsp
In JSTL, SQL tags are used to access and manipulate various operations of database. It is responsible to interact the JSP page with any type of Database such as MySQL, Oracle, SQLite, etc. The below syntax is used to include SQL library within JSP: – <%@...
by admin | Jul 15, 2018 | jsp
In JSTL, the role of formatting tag is to specify the type of format that represents date and time. The following syntax represent the URL of formatting tag: – <%@ taglib uri = http://java.sun.com/jsp/jstl/fmt prefix = "fmt" %> 123 <%@ taglib uri...
by admin | Jul 15, 2018 | jsp
In JSTL, core tags are most frequently used tags that provides variable support, manages URL and control the flow of JSP page. To use JSTL it is required to associate the below URL in your JSP page: – <%@ taglib uri="http://java.sun.com/jsp/jstl/core"...
by admin | Jul 15, 2018 | jsp
Java Standard tag library (JSTL) is a collection of various type of JSP tags. Each tag control the behavior of JSP page and perform specific task such as database access, conditional execution, internationalization etc. JSTL delivers the functionality of...
by admin | Jul 15, 2018 | jsp
Apart from operators, JSP also provide expression language implicit objects. The role of these implicit objects is to get the attribute associated with various object. Here, is the list of expression language implicit objects with their purposes. Implicit Object ...
by admin | Jul 15, 2018 | jsp
JSP introduced the concept of expression language (EL) in JSP 2.0 version. The purpose of expression language is to access and manipulate data easily without using any type of scriptlet. Why Expression language? Before JSP 2.0, scriptlets are used to handle the...
by admin | Jul 15, 2018 | jsp
Cookie is a small piece of information sent by server to recognize the user. This information is stored at client side in the textual form. In JSP, cookie is an object of javax.servlet.http.Cookie class. This object is used widely for session management purposes....