spring webflow, evaluate expression ignored in transition
问题 I have a flow definition as flows <view-state id="view1" view="/jsp/view1.xhtml"> <transition on="login" to="view1" > <evaluate expression="'test1'" result="viewScope.t1"/> <evaluate expression="'test2'" result="viewScope.t2"/> </transition> </view-state> View1.xhtml: ${t1}<br/> ${t2} In view1.xhtml, I printed the two variables t1 and t2, but only 'test1' is printed. The second expression is ignored in transition. Why this happened? 回答1: http://static.springsource.org/spring-webflow/docs/2.3