File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using custom request processor and Tile framework
 
Similar Threads
Extending RequestProcessor
Page is displayed blank for Login Application
Struts Training
UnavailableException: Cannot initialize RequestProcessor of class
Struts' ActionServlet.init()?