#topicpath
----
//ここにコンテンツを記述します。

*** Tilesの属性をimportする
 <tiles:importAttribute name="app.name" scope="request" />
とすると
 <bean:write name="app.name"/>
 (ようするにrequest.getAttribute("app.name");)
とできるようになります。

*** 他のTilesのDefinitionを呼び出す。
 <definition name="kino.tiles.javaDocumentSearch" extends="layoutBase">
   <put name="app.name" value="JavaDocument Application" />
   <put name="body" value="/javaDocumentSearch.jsp" />
   <put name="menubar" value="kino.tiles.othermenubar" />
   ↑このような他のTiles定義を呼び出すこともできます。
 </definition>



----
この記事は
#vote(おもしろかった[0],そうでもない[1])

#comment

#navi(Java/Struts)

SIZE(10){現在のアクセス:&counter;}

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS