File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes database connectivity error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "database connectivity error" Watch "database connectivity error" New topic

database connectivity error

Saurav Suman

Joined: Jul 02, 2013
Posts: 20
servlet page for database connectivity can be run on web server or not ?
if anyone know then tell me, while i am using servlet page then getting a black page. please help me,
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 970
I must admit not to understand the question.

You might want to reformulate it.
Sam Jimzz

Joined: Apr 30, 2011
Posts: 28

yes it will work.., check your db connectivity code & IDE console for any errors..

God Loves You and will never love you less.
Amir Keibi
Ranch Hand

Joined: Apr 23, 2012
Posts: 49

Servlet doesn't restrict you from connecting to database if that's what you mean. Even if you write the entire code including connecting to database and executing commands in your Servlet (bad practice obviously), it still works. If you're getting a blank page it means your code is broken somewhere. Please debug and find out where it is going wrong.
lakshmideepak katari

Joined: Sep 05, 2013
Posts: 5
post your code then after we can....!
I agree. Here's the link:
subject: database connectivity error
It's not a secret anymore!