1

我知道表达式语言中使用的 $ 的含义。但是什么是meaning of %, @ and # characters in value attribute of struts2 tags in jsp

<s:iterator value="sprInstanceData.sprFieldMapDataSetResponse" var="sprFieldMap" >
    <tr>
        <td>
            <s:textfield name="dbField" value="%{#sprFieldMap.dbField}" theme="simple"/>
            <s:hidden name="packetMappingType" theme="simple" value="%{@com.elitecore.webin.core.constants.PacketMappingType@INCOMING}" />
        </td>
        <td>
            <s:textfield name="logicalName" value="%{#sprFieldMap.logicalName}" theme="simple"/>
        </td>
        <td>
            <s:textfield name="defaultValue" value="%{#sprFieldMap.defaultValue}" theme="simple"/>
        </td>
        <td>
            <s:textfield name="valueMapping" value="%{#sprFieldMap.valueMapping}" theme="simple"/>
        </td>
        <td>
             <img  src='${pageContext.request.contextPath}/images/remove1.jpg'/>
        </td>
    </tr>
/s:iterator>     

什么时候使用它们?

4

0 回答 0