Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 86715 invoked from network); 6 Nov 2001 14:20:05 -0000 Received: from unknown (HELO osaka.betaversion.org) (192.18.49.133) by daedalus.apache.org with SMTP; 6 Nov 2001 14:20:05 -0000 Received: (qmail 17273 invoked from network); 6 Nov 2001 14:22:31 -0000 Received: from nagoya.betaversion.org (192.18.49.131) by osaka.betaversion.org with SMTP; 6 Nov 2001 14:22:31 -0000 Received: (qmail 23588 invoked by uid 97); 6 Nov 2001 14:19:01 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 23273 invoked by uid 97); 6 Nov 2001 14:18:53 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 23117 invoked from network); 6 Nov 2001 14:18:50 -0000 Message-ID: <3BE7F1CC.24852ECB@lifl.fr> Date: Tue, 06 Nov 2001 15:21:00 +0100 From: Cedric Dumoulin X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: fr,en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: tiles Definitions References: <7F2EB0F06E93D1119CD500A0C989C65C03070E12@MONACO> <3BE6C417.FF3FED5F@lifl.fr> <018701c166be$df5cb9e0$5ab77ad5@oemcomputer> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Peter, You should use ActionComponentServlet instead of ActionServlet. So, in your web.xml file, replace the servlet-class of your servlet "action" by : org.apache.struts.tiles.ActionComponentServlet Cedric Peter Georgiou wrote: > Hi > > I'm going through the Tiles tutorial and have reached the section on > definitions where I have encountered problems. I have created the following > .jsp: > > <%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %> > flush="true"> > value="My First Definition With Overloaded Title" /> > > > have created the following componentDefinitions.xml file: > > > > > > > > > > > > > > I've added the following to my web.xml file: > > org.apache.struts.action.ActionServlet > > definitions-config > /WEB-INF/componentDefinitions.xml > > > definitions-debug > 1 > > > and I've restarted the server. However, when I try to load my .jsp I get > the following error: > > javax.servlet.ServletException: Can't get definitions factory from context. > at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown > Source) > at > org.apache.jsp.definitionPage$jsp._jspService(definitionPage$jsp.java:127) > > Does anyone know what this problem might be? > > Thanks > > Peter > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: