File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes writing an application for multiuser database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "writing an application for multiuser database" Watch "writing an application for multiuser database" New topic

writing an application for multiuser database

zonty Singh

Joined: Oct 18, 2008
Posts: 1
I have written a multi user student information system, web application in java using servlet,jsp and sql server 2000 and Appache Tomcat using as a web server.When a single user enter his details, the record added to the database successfully but when multiple users want to record his details to the databse same time the application generates error please suggest me that how multiple user write information to the database concurrently.The partial code is given below-

public class register extends HttpServlet

public void doPost(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException

kishukishor patil

Joined: Nov 20, 2008
Posts: 23

please specify the exception type or stack trce of that exception so that the solution will be provided......
I agree. Here's the link:
subject: writing an application for multiuser database
It's not a secret anymore!