This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: connection with database
 
Similar Threads
how to use connection pools in wl6.1
how to connect SQL database in servlet?
Connecting to Database Server
Database in RAD 6.0
database connectivity