aspose file tools*
The moose likes JDBC and the fly likes connection with database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection with database" Watch "connection with database" New topic
Author

connection with database

jeanbkus
Greenhorn

Joined: Aug 05, 2002
Posts: 2
My servlet connect on my localhost with my database but when the file is transfer over a web server the connection will work for a while and refuse to connect avec a restart a new browser. Please help (I am using servlet and mysql database)
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
At current driver is not supported to browser.Which driver r u using now ?Before i also got problem.so pls change other driver for recommended pure java driver
Khurram Shahood(SCJP2)
Greenhorn

Joined: Jun 08, 2002
Posts: 18
i think u should use connection pooling.


khurram shahood(Java Farmer)
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"jeanbkus", "Khurram Shahood(SCJP2)",
Your names are not valid.
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
jeanbkus
Greenhorn

Joined: Aug 05, 2002
Posts: 2
Thanks you all for helping me. The connection pool was the solution of my problems was resolved.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connection with database