Hey,
There may be other things you want to take into consideration, do you
WANT to update
EVERY time the page updates?
For example if I go to your page and hold down F5 do you want every single page refresh to count as a page access?
You may only want to let a user update the page count for a certain page once per session.
This is similar to how google analytics works (Or maybe you can even use that to get the counts... I'm not sure).
[edit]Personally I would use a filter to update a database and to set the count for that page into the request to use in your
JSP, that is a personal preference though.[/edit]
Sean