This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 Tiles: Using actions instead of JSP's

 
Payam Fard
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

When I am defining a tiles template, can I use actions in place of JSP's? In other words, I want to be able to do something like the following to be able to populate the jsp page with some data from the back end. If this is doable, can someone point me to an example or documentation on how to do this?

<tiles-definitions>
<definition name="baseLayout" template="/BaseLayout.jsp">
<put-attribute name="title" value="" />

<put-attribute name="otherInfo" value="/test.jsp" />
<put-attribute name="myInfo" value="/myAction" />
</definition>
</tiles-definitions>

Thanks much,
Payam
 
Payam Fard
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very sorry for the repost, but does anyone know how this can be done or can point me to a code example?

Thanks,
Payam
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic