http://www.junlu.com/
Home
»
Home (12/2007)
»
Struts 2
»
@ExpressionValidator annotation & ognl.NoSuchPropertyException: com.opensymphony.xwork2.validator.validators.ExpressionValidator.methodName
Alex Wibowo
2007-03-05
Replies:
@ExpressionValidator annotation & ognl.NoSuchPr... --
Alex Wibowo
2007-03-05
@ExpressionValidator annotation & ognl.NoSuchPr...
--
Piero Sartini
2007-03-23
Gday...
I am using the @ExpressionValidator annotation. So far it is working
alright, apart from this exception I was getting:
WARNING: Caught OgnlException while setting property 'methodName' on type '
com.opensymphony.xwork2.validator.validators.ExpressionValidator
'.
ognl.NoSuchPropertyException:
com.opensymphony.xwork2.validator.validators.ExpressionValidator.methodName
Did anyone else get this error? According to the API, the
@ExpressionValidator does not require any "methodName" parameter. So I am
not sure
what this exception is all about. I havent looked at the source code yet..
--
Best regards,
WiB
-------------------
©2008 junlu.com - Jax Systems, LLC, U.S.A.