The <c:set> tag is general purpose tag which allows to set the value of a variable or property into the given scope. Using this tag we can set the property of bean and also we can set the values of map. This tag sets the result of an expression evaluation based on the value of …
Java EE
JSTL Core Tags Library
The Core tag library is the collection of the JSTL core tags in the JSP pages. These tags are used for manipulating data in JSP pages. This is used for iterating on data collection, setting parameter etc. The Syntax for the JSTL Core Tag Prefix c is used to refer to this tag in the …
What is JSTL Tags and How to Setup?
JSTL stand for JavaServer Pages Standard Tag Library. JSTL provides a framework for integrating custom tags with JSTL tags. The goal of JSTL is to minimize or, if possible, eliminate actual Java code introduced through JSP. JSTL is a collection of very useful core tags and functions. These tags and functions will help you write JSP …
Cookies In Servlet
Java EE Tutorials Servlets Tutorials Servlets Interview Questions Cookies are text data sent by server to the client and it gets saved at the client local machine. This is a small bits of information that a web browser send to browser and that are browser returns unchanged after visiting the same page. Server can accept multiple …
How To Get Client IP Address In Servlet
Java EE Tutorials Servlets Tutorials Servlets Interview Questions The host name and IP address of the client requesting the servlet can be obtained using the HttpRequest object. In the following section we have a detailed java code to get clients address in a servlet. If the client uses proxy server , the real request to …
Servlet Filter
Java EE Tutorials Servlets Tutorials Servlets Interview Questions Filter is an object that transforms the information of request or response from one format to another. The filter class is declared in the deployment class. The other types that can be implemented in a web application using filters is: Security verification. Session validation. Internationalization. Triggering resource …
Session Tracking Using Servlet
Java EE Tutorials Servlets Tutorials Servlets Interview Questions A session is a collection of HTTP request , over a period of time. A session is specific to the user and for each user a new session is created to track all the request from the user. In servlet session tracking can used to track the user …
Request Headers In Servlet
Java EE Tutorials Servlets Tutorials Servlets Interview Questions Request Header Request header is used to pass additional information about the request or itself to the server. Request header can be used by client to pass useful information. getHeaderNames() and getHeader() methods of javax.servlet.http.HttpServletRequest interface can be used to get the header information. Following important request header …