This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method level validation in struts2 using Annotation

 
Naufal kurudamparambil
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new in struts2 how can implement method level validation using annotation. In my action class have 2 methods, Add and delete. when call add action then I want to validate all fields, but when I call delete action then I want to validate only one field.
How can I solve this problem, Please help me

Naufal K.K
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Nafual,

Search on @skipvaldiation which will solve your problem.


Regards
Jatan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic