• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

TilesServlet not found.

Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

My application uses JSF 1.1 and I would like to use Tiles without having to use struts.

Many tutorials on the web tell that I can use Tiles without struts by using the org.apache.struts.tiles.TilesServlet class.

However, after configure my web.xml file to use such class as described on these tutorials, I got a big fat ClassNotFoundException error.

After some google I could see that some people who have been using Struts 1.1 and then upgraded to latest versions also faced the same problem.

Does anyone know whether this class has been deprecated or even banned from the latest struts implementations ?

Where I can find this class ? Is there at least another alternative way to use Tiles in my JSF application without having to use struts ?

Here's my web.xml file

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



The error is:

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

Thanks in Advance.
[ April 01, 2007: Message edited by: Edisandro Bessa ]
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How you use JSF and tiles together depends on the implementation of JSF that you're using. If you're using MyFaces, this link explains how to to it, and it does not involve defining a servlet. If you are using some other implementation of JSF, see if you can find a document detailing specifically how to do it for your implementation.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic