GeeCON Prague 2014*
The moose likes Struts and the fly likes Using custom request processor and Tile framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using custom request processor and Tile framework" Watch "Using custom request processor and Tile framework" New topic
Author

Using custom request processor and Tile framework

Naveen Sampra
Ranch Hand

Joined: Jun 11, 2003
Posts: 70
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 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 ?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you're going to use tiles with a custom request processor, the request processor you write must extend TilesRequestProcessor instead of RequestProcessor.


Merrill
Consultant, Sima Solutions
 
GeeCON Prague 2014
 
subject: Using custom request processor and Tile framework