I have the intercept url as shown below:
<intercept-url pattern="/messageDelete*" access="hasRole('${messageBoardService.returnStrin gMethod}')" />
And implementation of returnStringMethod is like below:
public String getReturnStringMethod()
{
return "ROLE_ADMIN";
}
If I am hardcoding like access="hasRole('ROLE_ADMIN')" it will work.But the above implementation is not working.Can you please tel me why it happens.


Reply With Quote
pos 20): Field or property 'returnStringMethod' cannot be found on object of type '$Proxy18'
