Hi there.

I need your help! I am having problems with my Database bean, through which
my HttpServlet communicates with an Access database. First it seemed to work
fine, but now it is giving me a hard time.

I am just performing simple Select-statements on the database. If I call the
Servlet for the very first time (I am using the JSWDK Web server from Sun)
the database connection works fine, but if I call the servlet a second time,
the database bean reports an "General Error" while performing the
select-statement (even the syntax is right). Unfortunately this error does
not occur all the time, I mean sometimes during the second time, sometimes
during the third call.

I have put the actual database call in a separate Java Class, from which I
create a new instance every time the servlet is being called. So I would say
there can not be any sharing violations between the different calls.

I am pretty new to this topic and I would appreciate any suggestions.

thanks in advance,
iNGo.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to