*
The moose likes Struts and the fly likes 	STRUTS 1.3.8 Validator ist destroying my SessionToken Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "	STRUTS 1.3.8 Validator ist destroying my SessionToken" Watch "	STRUTS 1.3.8 Validator ist destroying my SessionToken" New topic
Author

STRUTS 1.3.8 Validator ist destroying my SessionToken

tom zygadlewicz
Greenhorn

Joined: Aug 28, 2007
Posts: 3
Hi,

Im using the struts-Validator AND the transaction Token. Both work
perfectly - BUT if I use them in combination I'm in trouble...

If the validator detects wrong data and returns me to the input-form it
still starts the actionclass of the submit button - and its executing
isTokenValid() .
And of course it leads to the token being deleted... So if the user
corrects his errors he still cant continue to page2...
Can I tell the Validator NOT to execute the second action-class? or can
I check somehow if the validation was successful?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: STRUTS 1.3.8 Validator ist destroying my SessionToken
 
Similar Threads
working example of struts validator framework
Problem with Ctrl-N and opening a new window
Validator does not allow blank Dates?
Struts validator with portlets
JSF integration with Struts Commons Validator