File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Servlet can't connect to mysql in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Servlet can Watch "Servlet can New topic

Servlet can't connect to mysql in netbeans

Tania Sen

Joined: Feb 28, 2010
Posts: 8
My netbeans is connected to is showing all the databases ,tables etc,but when i run my project from netbeans and the servlet tries to access mysql it gives a blank page...but it is working fine when i run it separately in a browser..
David Newton

Joined: Sep 29, 2008
Posts: 12617

Please read ItDoesntWorkIsUseless and TellTheDetails: you wouldn't expect an auto mechanic to diagnose and solve a problem with your car without being able to look at the car. We're not at your machine and have no other information other than what you choose to share--without knowing what's happening, what you expected, what (if any) errors you received, and so on, it's impossible to help.

You can edit your post by using the button.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Please be sure to ask Netbeans questions in the IDEs forum. I have moved this post there for you.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Servlet can't connect to mysql in netbeans
It's not a secret anymore!