dinesh Archive

JSTL Core <c:out> Tag

JSTL out tag is used to display information on JSP. It can also be used with properties of the bean. The <c:out> tag displays the result of an expression, similar to the way <%= %> …

JSP Auto Refresh

The following scriptlet code adds a Refresh header that specifies a 60-second interval for refreshing the JSP. Place this code at the top of the JSP before any content appears: <% response.addHeader("Refresh","60"); %> If you …

JSP Session Tracking

HTTP is a “stateless” protocol which means each time a client retrieves a Web page, the client opens a separate connection to the Web server and the server automatically does not keep any record of …

JSP Form Processing

You must have come across many situations when you need to pass some information from your browser to web server and ultimately to your back-end program. The browser uses two methods to pass this information …

JSP Scopes Example

JSP provides very useful features. One of them is maintaining the user defined variable. As you all know that in JAVA, each variable has a scope. Scope decides the accessibility of an object or variable. …

JSP pageContext Object

JSP pageContext Object is implicitly available to the developer on Java Server Pages. A pageContext implicit object is used for storing and retrieving page-related information and sharing objects within the same translation unit and same …