aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "writing an application for multiuser database" Watch "writing an application for multiuser database" New topic
Author

writing an application for multiuser database

zonty Singh
Greenhorn

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 message.so please suggest me that how multiple user write information to the database concurrently.The partial code is given below-

[import] java.io.*;
public class register extends HttpServlet
{

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



kishukishor patil
Greenhorn

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: http://aspose.com/file-tools
 
subject: writing an application for multiuser database