JSP Archive

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 …