aspose file tools*
The moose likes Servlets and the fly likes servlets/JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets/JSP" Watch "servlets/JSP" New topic
Author

servlets/JSP

syam prasad
Greenhorn

Joined: May 15, 2001
Posts: 2
How can I restrict the users to access my database-table to use by only one user at a time?
*One access of my webpage on net.

shyam
vik nuckchady
Greenhorn

Joined: Apr 25, 2001
Posts: 25
I would advise you to use a static boolean variable that would act as a semaphore for the access of the table. The connected client must "grab" that variable before accessing the required code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets/JSP
 
Similar Threads
MS Access 2000 on web
java.sql.Date problem
Do we assume the database is used by another application?
index access Vs iterator access
NoClassDefFoundError problem with WAR in 8.1