Method 1:
<S: Set Name = "str" value = "'Hello world'"> </S: Set>
<S: property value = "% {@ com. Common. Constant @ func (# Str)}"/>
Func is a static method in COM. Common. Constant.
STR is a dynamic parameter
Method 2:
<S: bean name = "com. fsti. mailmanager. action. mailtemplate "id =" mailtemplate "/> <s: Set Name =" str "value =" creator "> </S: Set>
<S: property value = "# mailtemplate. getspnameformuseraccount (# Str)"/>
Func is a common method in COM. Common. strutshelper.
STR is a dynamic method
S: bean is actually an instantiation of the strutshelper class, which is somewhat different from method 1. The function in method 1 must be static.
JS gets the value in the drop-down box:
$ ("Select [name = 'area'] Option: Selected"). Text ()
Method 1:
<S: Set Name = "str" value = "'Hello world'"> </S: Set>
<S: property value = "% {@ com. Common. Constant @ func (# Str)}"/>
Func is a static method in COM. Common. Constant.
STR is a dynamic parameter
Method 2:
<S: bean name = "com. fsti. mailmanager. action. mailtemplate "id =" mailtemplate "/> <s: Set Name =" str "value =" creator "> </S: Set>
<S: property value = "# mailtemplate. getspnameformuseraccount (# Str)"/>
Func is a common method in COM. Common. strutshelper.
STR is a dynamic method
S: bean is actually an instantiation of the strutshelper class, which is somewhat different from method 1. The function in method 1 must be static.
JS gets the value in the drop-down box:
$ ("Select [name = 'area'] Option: Selected"). Text ()