In this article we are discussing <c:choose>, <c:when> and <c:otherwise> core tags of JSTL. These tags are used together like switch-case and default statements in… [Read More]
JSTL <c:if> Core Tag
<c:if> is a JSTL core tag which is used for testing conditions. It is more or like a if statement in java which evaluates a… [Read More]
JSTL <c:remove> Core Tag
<c:remove> tag is used for removing an attribute from a specified scope or from all scopes (page, request, session and application). Example In the below… [Read More]
JSTL <c:set> Core Tag
<c:set> core JSTL tag is used for assigning a value to an object or variable within a specified scope. Let’s understand this with an example…. [Read More]
JSTL <c:out> Core Tag
<c:out> is a JSTL core tag, which is used for displaying server-side variables and hardcoded values on the browser (client). You may be wondering that a variable’s… [Read More]
JSP Expression Language (EL) – JSP Tutorial
Expression language (EL) has been introduced in JSP 2.0. The main purpose of it to simplify the process of accessing data from bean properties and… [Read More]
JSP Declaration tag
JSP Declaration tag is a block of java code used for declaring class wide variables and methods. The code placed inside declaration tag gets initialized… [Read More]
JSP Expression Tag
JSP Expression tag evaluates the expression placed in it, converts the result into String and send the result back to the client through response object…. [Read More]
Exception handling in JSP
Before going through exception handling in JSP, let’s understand what is exception and how it is different from errors. Exception: These are nothing but the abnormal… [Read More]
jsp:useBean, jsp:setProperty and jsp:getProperty Action Tags
In this tutorial we will see how to use a bean class in JSP with the help of jsp:useBean, jsp:setProperty and jsp:getProperty action tags. Syntax of… [Read More]
JSP include action Tag
Include action tag is used for including another resource to the current JSP page. The included resource can be a static page in HTML, JSP… [Read More]
JSP forward action tag
JSP forward action tag is used for forwarding a request to the another resource (It can be a JSP, static page such as html or… [Read More]
Include Directive in JSP
In this tutorial, you will learn include directive in JSP with example. Include directive is used to copy the content of one page to another…. [Read More]
JSP Implicit Objects
JSP implicit objects are created by JSP Engine during translation phase (while translating JSP to Servlet). They are being created inside service method so we… [Read More]
Config Implicit Object in JSP with examples
In this tutorial, you will learn config implicit object in JSP. It is an instance of javax.servlet.ServletConfig. The JSP config implicit object is used for getting… [Read More]