Session concurrency using Hibernate

I am new to JSP and don't know how it should work.

What I am trying to do is to put a "lock" on a modifying jsp so that there will not be two users that can excess that particular page by clicking the commandbutton.

How can this be done? Is using Hibernate the solution? How does it work?

Is there any sample code that i can reference?

Thanks

[374 byte] By [Intel3a] at [2007-11-27 11:43:20]
# 1

Set a boolean toggle in the application scope.

BalusCa at 2007-7-29 17:49:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...