Struts 2 Tips

s:text處理Null

<s:text name=”myObject.name”/>→如果myObject.name為null, 預設會顯示成”myObject.name”

<s:text name=”myObject.name”>空值</s:text>→此時就會顯示”空值”字眼

Continue reading Struts 2 Tips

Advertisements

Spring 3.0.5 + Struts 1.2.2 + Weblogic 10.3.6 APIs Conflict (ClassNotFoundException: org.hibernate.hql.ast.HqlToken)

Environment:

Sprint 3.0.5

Struts 1.2.2

Weblogic 10.3.6

Continue reading Spring 3.0.5 + Struts 1.2.2 + Weblogic 10.3.6 APIs Conflict (ClassNotFoundException: org.hibernate.hql.ast.HqlToken)