Struts 2.0.6 and Validation

2007-03-14 Thread Hardy Ferentschik
Hi there, I am trying to get validation going for my application and so far nothing works. I would like to use annotations. Here is what I try to do: package ... import ... @Results({ @Result(name = "success", value = "/jsp/hitlist.jsp"), // value = "hitlist.action", type = ServletAct

Re: Struts 2.0.6 and Validation

2007-03-15 Thread Hardy Ferentschik
Now it works. Thanks a lot. > @ExpressionValidator(expression="(searchParam.keywords > != '') && (searchParam.location != '')", message="Need > keywords and location.") I think there were several problems. First of all my OGNL syntax. I believe the documentation regarding this topic is