A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Using custom request processor and Tile framework
Joined: Jun 11, 2003
May 08, 2006 09:37:00
I am using a custom request processor by extending RequestProcessor to check for login state. At the same time I'm using Tiles framework too.
When the application starts I get an errror:
TilesPlugin : Specified RequestProcessor not compatible with TilesRequestProcessor
This is because the entry
<controller processorClass="myProcessor" />
in struts-config file is masking the request processor used by Tiles framework.
How to use the Tiles framework and custom request processor at the same time ?
Joined: Feb 15, 2005
May 08, 2006 09:56:00
If you're going to use tiles with a custom request processor, the request processor you write must extend TilesRequestProcessor instead of RequestProcessor.
I agree. Here's the link:
subject: Using custom request processor and Tile framework
Page is displayed blank for Login Application
UnavailableException: Cannot initialize RequestProcessor of class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015