File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Using Tiles with JSF (no struts) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Using Tiles with JSF (no struts)" Watch "Using Tiles with JSF (no struts)" New topic

Using Tiles with JSF (no struts)

Paul Smiley
Ranch Hand

Joined: Jun 02, 2000
Posts: 244
Using the struts 1.2.6 and jsf 1.1. With struts 1.1, I could get the org.apache.struts.tiles.TilesServlet during startup after the Faces Servlet and all was fine. But with this latest version of struts/tiles, it chokes on the following in the web.xml:

<servlet-name>Faces Servlet</servlet-name>



The error is:

java.lang.ClassNotFoundException: org.apache.struts.tiles.TilesServlet

And of course the struts.jar for 1.2.6 does not have a TilesServlet. I read that the plugin must now be used and put into the struts-config.xml. (With the 1.1 version, I didn't need a struts-config.xml)

Does anyone know the proper way of integrating the current versions of struts and faces? Should I look at MyFaces, since it is now taken over by Apache? I also read about a struts-faces.jar inplementation library, but am finding very little documentation about it.

Thanks for your help!

subject: Using Tiles with JSF (no struts)
It's not a secret anymore!