Which dependency should be added in pom file to import org.apache.tiles.controller?
+1
A:
org.apache.struts.tiles.Controller is an interface in Struts Tiles 1.x, which you can find in the maven artifact "org.apache.struts:struts-tiles"
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-tiles</artifactId>
<version>1.3.10</version>
</dependency>
Keep in mind, this only works with Struts 1.x, and not Struts 2.
Andrew Newdigate
2009-01-02 11:41:08
@Andrew :I am using jsf and not struts.Do you know dependency for tiles in jsf?
Warrior
2009-01-02 11:53:57
@Warrior, sorry I haven't used JSF and it's been a long time since I used tiles either. I've found SiteMesh to be far easier to use on straight JSP sites (although it could be different for JSF)
Andrew Newdigate
2009-01-02 16:13:49