Store clicks of button from a jsp button

I am trying to store the amount of click events of a button from a jsp page. Each time the button is clicked, the number should be stored in a method.Would anyone know how to solve this problem?Thanks in advance,ryan
[244 byte] By [ryano19a] at [2007-11-27 10:06:54]
# 1
You can't to this with JSPs unless the page submits each time because JSP is server side code, it runs before the client see's the HTML page.You could probably achieve what you want with client-side scripting; consider using JavaScript.
nogoodatcodinga at 2007-7-13 0:43:21 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...