This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
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 ??