This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes how to do validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to do validation" Watch "how to do validation" New topic
Author

how to do validation

shilpa vijay
Greenhorn

Joined: Mar 29, 2009
Posts: 4
I am struts validation.xml for a field called name.
If entered name is not John then show message 'John not allowed'
how to do it........
Please help me
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10171
    
    8

We have a forum dedicated for Struts. I will move this post over there for you.
http://faq.javaranch.com/java/CarefullyChooseOneForum


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Which version of Struts? Have you read the validation documentation?
 
 
subject: how to do validation
 
Similar Threads
Please Help - Remove only the duplicated ITEM and NOT the original item that was duplicated.
special char and html
Accessing class in different file
Java 5.0 static import same members collision from different classes
extracting last initial