You can't. Click handlers are triggered in JavaScript on the client, long after the JSP has executed on the server and sent the resulting HTML page to the browser. You'll need to either submit a request with a form or link, or use Ajax to contact the server.
Please read
this article to understand how JSP works and why what you ask is not directly possible.