File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes is use of struts custom tags necessary to use the struts validation framework ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "is use of struts custom tags necessary to use the struts validation framework ?" Watch "is use of struts custom tags necessary to use the struts validation framework ?" New topic
Author

is use of struts custom tags necessary to use the struts validation framework ?

sid sree
Ranch Hand

Joined: Jun 28, 2007
Posts: 186
hi all ,

i am new to struts so i just wanted to know if the use of struts custom tags necessary to use the struts validation framework ?

Thanks in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You'd have to have at least one Struts tag: an <html:errors> or <html:messages> tag to show any errors that might be caught by the validator. You could probably get by with using regular HTML input tags instead of html:text tags as long as you used name attributes that matched your ActionForm properties.

I must say, though, that I just don't get picking Struts as a framework and then choosing not to use some of its most important features. It's a little like walking into a restaurant and saying "I'll have a hamburger, but hold the meat and hold the bun".


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: jrebel
 
subject: is use of struts custom tags necessary to use the struts validation framework ?
 
Similar Threads
Composite View
html:javascript question
Server side validation - not working.
validation of a field depending on the value of another field
validation in struts2 annotation