Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Struts / JSPで次のことを行う方法はありますか?
<html:checkbox property="list.get(0).checked" />
前もって感謝します。
JSTL のリストの 3 番目の要素にアクセスする場合、構文は配列と同じです。
<html:checkbox property="list[2].checked" />
JSTL/EL を初めて使用する場合は、適切な jar をクラスパスに追加し、タグ ライブラリを参照する必要があることに注意してください。