struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject S2: @SkipValidation annotation
Date Mon, 21 Sep 2009 20:22:46 GMT
Hello All,

I'm having trouble getting the SkipValidation annotation to work.  I
have a single action w/ multiple methods. Some of the methods don't
require any input and I'd like to skip validation, e.g. 

public String list() {

However the annotation does not seem to prevent the validate method from
running and short circuiting the process. I'm using Struts 2.0.14 and
have included an excerpt from my struts.xml below.  Can someone please
help me here?



<action name="Test_*" method="{1}"
  <result name="input">TestInput.jsp</result>
  <result name="list">TestSuccess.jsp</result>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message