struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <ced...@apache.org>
Subject Re: Move to TilesRequestProcessor results in forwarding exception.
Date Thu, 12 Dec 2002 21:22:57 GMT

  Hi,

  Normally, you also specify the tiles-config files with the tiles 
plugin. I suppose that the tiles factory has failed to initialize, and 
so something goes wrong  with the RequestProcessor. Can you check the 
tomcat log file for tiles messages (maybe you need to enable the tiles 
logging)  ?

  Cedric

Jerome Jacobsen wrote:

>Interesting.  With the <plug-in> tag removed I added the following:
><controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
>
>Now it works!  So what was wrong with the <plug-in> usage?  Was I supposed
>to add some required <set-property> tags?
>
>  
>
>>-----Original Message-----
>>From: Jerome Jacobsen [mailto:jerome.jacobsen@gentootech.com]
>>Sent: Thursday, December 12, 2002 2:53 PM
>>To: Struts User
>>Subject: Move to TilesRequestProcessor results in forwarding exception.
>>
>>
>>I just added the following to my *non-tiles* Struts 1.1b2 app
>>configuration
>>file:
>>
>>  <plug-in className="org.apache.struts.tiles.TilesPlugin"/>
>>
>>As I understand it this should replace the RequestProcessor with the
>>TilesRequestProcessor.  Well something changed because now I get an
>>exception when my Action forwards to another Action via a global forward.
>>
>>javax.servlet.jsp.JspException: Exception forwarding for name
>>displayErrorMaintSearch: javax.servlet.ServletException: Error in servlet
>>	int org.apache.struts.taglib.logic.ForwardTag.doEndTag()
>>		ForwardTag.java:180
>>
>>If I remove the Tiles plug-in from struts-config it works again.
>>I want to
>>refactor to Tiles but step one has failed.
>>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:struts-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail:
>><mailto:struts-user-help@jakarta.apache.org>
>>
>>
>>
>>    
>>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>
>  
>


--
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