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

struts 1 validation

 
satya devarapalli
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have an action in struts1 which has validate=true and uses struts validation framework which works fine. Now I have another action, which when invoked, I would like to call the struts validation only when the user is in validation mode ( meaning only when the user invoked the first action before).

I tried to manually call the validation in the second action implemented and assigned to GLOBAL Keys in the request. But the jsp didnot render the error messages.

Thanks!
 
Sandy Chatterjee
Ranch Hand
Posts: 55
Hibernate Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show the exact code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic