File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes defect in struts token mechanism to handle multiple submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "defect in struts token mechanism to handle multiple submit" Watch "defect in struts token mechanism to handle multiple submit" New topic
Author

defect in struts token mechanism to handle multiple submit

ravitalari srinivas
Greenhorn

Joined: Dec 25, 2008
Posts: 10
Hi everyone,
I am using token mechanism to handle multiple submits.
Here iam facing one problem...
I am creating token using savetoken before going to registration form.
If i submit register then istokenvalid check and process if it is valid token.
But I am facing one problem here..
After generating token ,if i open the page in new window,one window will process as we expected and reset the token.
If i try registration with second window, always go to invalid token because we already reset the token in other window.
Please help me, how can we solve this..............it is urgent.............

Thanks in advance..........
ravitalari srinivas
Greenhorn

Joined: Dec 25, 2008
Posts: 10
hi please help me..........
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There is no built-in mechanism for handling multiple conversations in a single HTTP session (Seam is one of the few frameworks that has this capability built-in).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: defect in struts token mechanism to handle multiple submit
 
Similar Threads
Refresh Problem
Regarding "html: reset " button
How to open New Window from another window in struts 2.0 without using windows.open
Disable Button
Timeout and retry issue with URLHTTPRequest