• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic