Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing an application for multiuser database

 
zonty Singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
Firefox Browser Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please specify the exception type or stack trce of that exception so that the solution will be provided......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic