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.
struts2+tiles フレームワークを使用しています。私は leftmenu.jsp を持っており、サイトが稼働しているときにデータベースからアイテムを表示したいところです。
ありがとう
スワップナ
アクションクラスでリスト「itemlist」を使用してこれを行うことができると思います。これは、アイテムに表示したいリストの形式でデータベースから値を取得し、jspで同じアイテムリストを使用して反復できます使用して
<struts:iterator value="itemlist"> <struts:property value="listField"> </struts:iterator>
jspで値を取得します。