File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts modules and tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts modules and tiles " Watch "Struts modules and tiles " New topic

Struts modules and tiles

smitha mano
Ranch Hand

Joined: Sep 26, 2005
Posts: 70
I have a struts web application with five modules. I needed to using with this module to tiles. how ?
Please help me

David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
create tiles-defs.xml with your content and to struts-config.xml put these line

<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>

[ September 26, 2005: Message edited by: David Ulicny ]

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
"jose jj",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance, and we look forward to seeing you around the Ranch.
Jason Menard

Joined: Nov 09, 2000
Posts: 6450

I provided the link to the naming policy in hopes that you would read it. Upon doing so, it should become clear that "jose2005" is also not an allowed name. Your display name must consist of a first name and a last name, neither of which may be obviously fictitious. Reading the policy should clarify things. Again, please read the policy and adjust your display name accordingly. If you have difficulty understanding our policy then you may direct any questions you have to this thread. Refusal to comply with the policy may result in account termination. Thanks.
I agree. Here's the link:
subject: Struts modules and tiles
It's not a secret anymore!