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 	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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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