servlet-jdbc (error:500) help

hi,

i am trying a small program on interaction with jdbc and servlet , I am having a html page with a button , which when pressed invokes a servlet through post method which prints out a list of book in the database with its author,isbn etc. when i load the html page and click the button , i get a error error:500 ,the error looks as following:

Error: 500

Internal Servlet Error:

java.lang.IllegalAccessException: booklist

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(Unknown Source)

at com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)

at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)

at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)

at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)

at com.sun.web.core.Context.handleRequest(Context.java:375)

at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)

if any body can solve the problem ,i would be great , i am running the program on win98,jsdk2.1 and jdk1.3

thanks

raghav

[1231 byte] By [raghav21] at [2007-9-26 2:33:04]
# 1

java.lang.IllegalAccessException: booklist

could you pl. clarify some more things for us:

what exactly is your servlet name ?

and what does booklist correspond to?

also, how are you connecting to the DB?

JDBC / ODBC ?

- madhav

mlakkapr at 2007-6-29 9:55:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...