html form stop sunmitting to servlet

Hi,

I have a web application developed with Servlet and running on Tomcat. The web application is to search and retrieve records in Mysql database. The records are displayed and click a submit button will create a pdf file. The user may print it or/and save it.

The web application runs well after deployed to Tomcat, but after while, it changes from time to time, sometime one day, sometime several hours. Click the submit button does not submit to the servlet which creates a pdf file. I have to redeploy the web application to make it work again.

There is no exception thrown and no any other run time errors, simplely click the button does nothing. The screen refreshes, and show the same displayed records.

Thanks for any ideas about what might be wrong.

Mindy

[802 byte] By [MHDowneya] at [2007-11-27 1:46:40]
# 1
What i m goin to say doesn't hv any affect but smtimes it does hav..just try this...cut ur source folder frm the present location & paste it in parallel to ur Webinf folder,then recompile & restart tomcat & run ur appl.
adept17a at 2007-7-12 1:08:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Do you at least gently close all DB connections after use? If not, then you're leaking resources and/or having timeout problems.
BalusCa at 2007-7-12 1:08:29 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...