As Eric pointed out in an earlier post, you have a basic misunderstanding of what
JSP is all about. JSP code executes on the serveer in order to compose an HTML page to send to the client. Once sent, no
Java code remains in the page.
Since this is not an HTML question, I've moved this to the JSP forum.