Category Archives: JSP

JSP Programming

What’s the Difference between sendRedirect() and Forward tag?

Basically sendRedirect() and <jsp:forward…> does the same task. Both of them redirect the page to a particular address. Still there is a small difference. Forward tag is used when you like to keep the visitor in the same application. But … Continue reading

Posted in JSP | Leave a comment

What’s the Difference between Forward and Include tags?

The Forward action enables you to forward the request to a static HTML file, a servlet, or another JSP. The syntax is <jsp:forward page=”url” /> The JSP that contains the Forward action first stops processing then clears its buffer, and … Continue reading

Posted in JSP | Tagged | Leave a comment