File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
java.sql.Date problem
index access Vs iterator access
NoClassDefFoundError problem with WAR in 8.1
Do we assume the database is used by another application?
MS Access 2000 on web