Strange problem with Rails and Tomcat

Hi all,
I´m having a strange problem in my rails app hosted on Tomcat:
The 'div' element which stores the validation errors of a model doesn´t
seem to be 'refreshed' after each request,so I end up with the following

In the first request:'5 problems ocurred'
In the second request:'10 problems ocurred'

and so on...

Can someone spot what could be the problem?
Rafael Roque

Are you updating that DIV with javascript?

No,I´m not.

I´m just putting <%= error_messages_for :my_model%> in all the views
that requires validation...