<logic:equal name="exField" property="fieldId" value="2131">
<tr valign="top">
<td>
<span class="contenttext"> <b>Account number: </b>
<bean:write name="exField" property="value"/>
我想将上面的值存储到字符串中。我使用下面的代码,但收到错误
<%
String str = eftDataField.getvalue();
out.println(str);
%>
答案 0 :(得分:0)
<bean:define id="variable" name="exField" property="value"/>
<%
String str = variable;
out.println(str);
%>