Hi list,
Consider this thread closed. It was a problem caused by me not registering the servet DBConnect in the zone.properties file of JServ. But I was wonddering if we can execute servlets without registering them in the first place.
Krishna thanx to your feedback. I went back to the code to see what was happening.
Regards,
Ravi
-----Original Message-----
From: kiran kumar nimashakavi [SMTP:[EMAIL PROTECTED]]
Sent: Monday, February 07, 2000 2:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Accessing a database via servlets
RE: Accessing a database via servletshi ravi
�ur servlet is working� with out any errors
could u send me the exact error message ... please have a look in the =
error log...
bye
jaya krishna reddy
----- Original Message -----
From: Gopalankutty, Ravi Kumar (CTS) <mailto:[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Sent: Monday, February 07, 2000 10:05 AM
Subject: Accessing a database via servlets
Hi list,
I tried to implement Jason Hunter's example on a JDBC call to a database (Access in my case) and throw the resultant output via a servlet. Everything works fine but after showing the resultset on the browser the JVM comes up with a "memory read failed" error message. Has anyone experienced similar problems???
I am enclosing the sample code I used. Before you check this out. Please create a DSN to an Access database with a table named subscribers having Name and PhoneNum as the field names.
<<DBConnect.java>>
Please do let me know if any of you are having this problem.
Thanks k Regards
Ravi Kumar Gopalankutty
Cognizant Technology Solutions,
Ph: 044-2354281 Extn:4423
e-mail: [EMAIL PROTECTED]
_______________________________________________________________
