File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts validation validwhen tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts validation validwhen tag" Watch "Struts validation validwhen tag" New topic

Struts validation validwhen tag

subu ananthram
Ranch Hand

Joined: May 16, 2004
Posts: 102
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?
I agree. Here's the link:
subject: Struts validation validwhen tag
It's not a secret anymore!