Sounds to me like your not closing your database connection.

-ernie

Alison Lindores wrote:

> Hi,
>
> I have a problem with an application that i am developing. There is a HTML
> page that accepts a key word in a form. The user enters a key word and then
> clicks a button. This invokes a servlet which searches a database for the
> key word. When the user first comes to the page, it works fine and search
> results are displayed. However, if you click the back button of the browser
> or the search button on the menu bar and type a new key word, an
> SQLException error is produced.
>
> I have looked through the archives of the list but have been unable to
> solve the problem. What is causing the error? Also, could someone please
> explain how I should go about fixing it?
>
> Thanks,
>
> Alison Lindores
>
> P.S. For reference, the URL of the site is http://wham.qld.gov.au/issues
> =============================================
> 3rd Year B Information Technology Student
> Central Queensland University, Mackay Campus
> Phone: (07) 4942 2627 or 0409 260 174
> Email: [EMAIL PROTECTED]
> =============================================
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
begin:vcard
n:Varitimos;Ernie
tel;cell:781-929-3856
tel;home:781-784-1997
tel;work:781-784-3900
x-mozilla-html:TRUE
url:http://www.skyserver.com
org:Skyserver Consulting, Inc.
adr:;;144 Upland Rd;Sharon;MA;02067;
version:2.1
email;internet:[EMAIL PROTECTED]
title:President
fn:Ernie Varitimos
end:vcard

Reply via email to