Hi everybody,
I have developed an Upload servlet for the Web Client version of my solution. Now I would like to trigger automatically an action on the intial page which launch the upload page, to updatge the details, when the upload is finished but I don’t know how!
The states would be like: Initial screen/form → Upload servlet → Initial screen/form updated with uploaded files details
I have tried several methods without success:
- generating a “complete” file and try to make the client loop to find the file. But the loop blocked the application in fact
- using the HTMLPanel bean to make the upload on the same intial screen. But the HTMLPanel is not working on the Web Client
- once the upload is done, refreshing the page to go back to the initial one where the screen should be updated (using history.go(-2)). But it just load the cached page and don’t run the methods again.
Any suggestions ?