• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using custom request processor and Tile framework

 
Naveen Sampra
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're going to use tiles with a custom request processor, the request processor you write must extend TilesRequestProcessor instead of RequestProcessor.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic