Use while loop in jsp code
While loop is a control flow statement that works repeatedly based on a given boolean condition, loop will continuously execute the statements given in the body as long as a given condition is true.
Use multiple catch statement in single jsp
In java a single try can have multiple catch statements. The code bound by the try block need not always throw a single exception so we can use multiple catches or Exception class (base class of all exceptions).
Use Session to Track User in JSP
ession tracking is a mechanism that is used to maintain state about a series of requests from the same user(that is, requests originating from the same browser) across some period of time.