Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts validation validwhen tag

 
subu ananthram
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am tryign to use the validwhen tag for struts validation
I have a certain user acct something like ABC%(ie ABC2,ABC45 etc) and for that user acct the user must fill a particular form field for others there is no need

so in that form field i use a valid when tag
but I want to do a LIKE comparison ie I want to see if the user Acct starts with ABC
I know I can use < >= but is there something that enables string comparisons in the validwhen tag?
thanks
subu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic