? I need to call the static method of class org.hibernate.Hibernate . How t...">

Spring Web Stream: how to call a static method from <evaluation / ">?

I need to call the static method of class org.hibernate.Hibernate . How to do this in a thread element?

+5
source share
2 answers

You can use the following Spring EL construct to evaluate static methods:

<evaluate expression="T(org.hibernate.Hibernate).initialize(yourObject)"/>

See the relevant Spring EL reference part:

http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/expressions.html#expressions-types

+13
source

spring -webflow 2 OGNL. OGNL . , "@".

( ). @ @ .

<evaluate expression="@[email protected]()"/>
0

All Articles