s begri wrote:but can we do this by using request.sendRedirect () or requestDispatcher's forward()/ include() methods ?
Of course not. Those are server-side
Java methods. As I said, once the page gets sent to the browser, all JSP-ness is gone. At the browser, it's just HTML.
I think you need to read
this article to understand what JSP is.