struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Albert <aalber...@yahoo.com>
Subject Re: Tiles error (Help)
Date Thu, 26 Sep 2002 06:48:15 GMT
Try to use
org.apache.struts.tiles.ActionComponentServlet for the
action servlet.

--- Heligon Sandra <sandra.heligon@nextream.fr> wrote:
> 
> 	I am using Tiles and when I run my application
> 	I have the following error:
> 
> 	javax.servlet.ServletException: Can't get
> definitions factory from
> context. 
> 	javax.servlet.ServletException: Can't get
> definitions factory from
> context. 	
> 	at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:471) 	
> 	at
>
org.apache.jsp.index$jsp._jspService(index$jsp.java:96)
> 	
> 	at
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> 
> 	I work with Struts1.1b2, my config file is the
> following:
> 	
>  	<servlet>
>     		<servlet-name>action</servlet-name>
>  
>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     		<init-param>
>       			<param-name>definitions-config</param-name>
>       		
> <param-value>/WEB-INF/tiles-defs.xml</param-value>
>     		</init-param>
>     		<init-param>
>       	
> <param-name>definitions-parser-validate</param-name>
>      			 <param-value>true</param-value>
>     		</init-param>
>     		<init-param>
>      			 <param-name>validate</param-name>
>       			<param-value>true</param-value>
>     		</init-param>
>     		<init-param>
>       		<param-name>definitions-debug</param-name>
>       			<param-value>1</param-value>
>     		</init-param>
>     		<init-param>
>       			<param-name>debug</param-name>
>       			<param-value>2</param-value>
>     		</init-param>
>     		<init-param>
>      		 <param-name>config</param-name>
>  
>
<param-value>/WEB-INF/struts-config.xml</param-value>
>     		</init-param>
> 		<load-on-startup>2</load-on-startup>
> 	 </servlet>
> 
> 	What does it mean ?
> 
> 	Thanks,
> 	Sandra
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


=====
Alex

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message