Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

STRUTS 1.3.8 Validator ist destroying my SessionToken

 
tom zygadlewicz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic