This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "database connectivity error" Watch "database connectivity error" New topic
Author

database connectivity error

Saurav Suman
Greenhorn

Joined: Jul 02, 2013
Posts: 20
Hi,
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
Rancher

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

You might want to reformulate it.
Sam Jimzz
Greenhorn

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
Greenhorn

Joined: Sep 05, 2013
Posts: 5
post your code then after we can....!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: database connectivity error