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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to