ロジックの反復値をソートするための特長やオプションはありますか?例えばロジック反復ソートオプション
、私はこのようなロジックの反復を持っている:
<logic:iterate name="testForm" property="rows" id="row" type="com.mam.dto.TestDTO">
<td class="formListLabelStyle"><bean:write name="row" property="customerLastName"/></td>
<td class="formListLabelStyle"><bean:write name="row" property="category"/></td>
</logic:iterate>
この出力が降順に来るため。ここで私はこれを昇順で並べ替える必要があります。これで私を助けてください。
さらに、 'TreeSet'のようなソートされたコレクションを使用してください。 – Viruzzo