struts2标签截取字符串

<s:iterator value="%{sqlKeyAndContentHashMap}" var="sqlKeyAndContent">
    <s:set name="keyTemp" value="%{key}"></s:set>
    <s:textfield name="sqlKey" value="%{#keyTemp.substring(2,#keyTemp.length())} " />
    <s:textfield name="sqlContent" value="%{value}" />
</s:iterator>

你可能感兴趣的:(struts2标签)