title: how to validate an ognl expression
body: <p>in struts 2 I want to save an ognl expression in my db and use it later to validate something.
  There is a way to check if that expression is formally correct?</p>
  
  <p>Exist a library or a regex for that?</p>