Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and Relational Databases and the fly likes dsn problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "dsn problem" Watch "dsn problem" New topic

dsn problem

shaista zaidi

Joined: Jan 25, 2001
Posts: 9
i'm using tomcat and access 97 as database. i'm retrieving the records using servlet but every time a blank page is there on my browser with no error message.
i think its a dsn problem. where should i store my access file.plz help!
salman moin

Joined: Jan 19, 2001
Posts: 8
It might be possible that your resultset is empty. Check your criteria first in the query Analyzer with the same querry you are using in your servlet.
Neeraj Thakkar
Ranch Hand

Joined: Dec 06, 2000
Posts: 80
If u r getting a blank page without any errors or exception then it means that ur program is perfectly fine there is no harm in it. Now u should check for the contents u wish to display . Just give a static message which gets displayed every time a request to servlet is made so that even if there is no record in the db u get to know that program is working perfectly fine.

Neeraj Thakkar<br />"Try to get what you like,Else you will be forced to like what you get."
I agree. Here's the link:
subject: dsn problem
It's not a secret anymore!