| Author |
Struts form which submit many times...
|
Serge Montet
Greenhorn
Joined: Nov 15, 2007
Posts: 1
|
|
Hello, I am a beginner in Java technologies... I am working on a Struts project with J2EE. It's a web site which is creating with Xen API some virtual machines. There is a create machine form which asks for example the OS wanted, memory size, etc. Then it is executed by JMS in a queue. Here are Struts actions for creating a machine : Now I am being asked to make a validation workflow. That is to say when someone asks for a virtual machine creation, the admin receives an email and click on it if all is ok. Example for machine id=10 Then the web page viewvirtualserver.jsp is launched, it displays all manipulation possible (start-up, shut-down etc). For some technical reasons, this page is refreshing every 10s. And now the problem : the creation form is submitted every 10s with the refreshing of that jsp page...!!! I cannot see why : The action of validation : How can I avoid this problem in Struts or jsp code ?? Thanks a lot.
|
 |
 |
|
|
subject: Struts form which submit many times...
|
|
|