database « Struts « JPA Q&A

1. DB changes listener and web page poll on this changes

I am using Struts2, Spring and Hibernate. Can someone please help me to update the webpage automatically when there is an DB update. Update to DB may not be from application ...

2. Hibernate Struts application, entry in database appears twice

I'm having some strange problem with hibernate and struts application. I have filled some text data in struts fields, here is my code:

<html:form action="/publications">
    <div class="publicationsWrapper">