How to configure @SkipValidation by XML configuration in Struts 2

后端 未结 2 1368
庸人自扰
庸人自扰 2020-12-11 12:32

In Struts 2,

I am trying to skip validation on method base on XML configuration. As per my application I can not use annotation. So I cannot use @SkipValidati

2条回答
  •  -上瘾入骨i
    2020-12-11 12:45

    You must configure validation interceptor for your action to exclude methods names that you do not want to be validated.

    
      
        input,back,cancel,browse,delete,search,view
      
      ...
    
    

提交回复
热议问题