wood burning stoves 2.0
The moose likes Struts and the fly likes TilesServlet not found. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "TilesServlet not found." Watch "TilesServlet not found." New topic

TilesServlet not found.

Edisandro Bessa
Ranch Hand

Joined: Jan 19, 2006
Posts: 584
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 ]

"If someone asks you to do something you don't know how to, don't tell I don't know, tell I can learn instead." - Myself
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: TilesServlet not found.
It's not a secret anymore!