This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Equivalent of TilesRequestProcessor in struts 2 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 "Equivalent of TilesRequestProcessor in struts 2" Watch "Equivalent of TilesRequestProcessor in struts 2" New topic
Author

Equivalent of TilesRequestProcessor in struts 2

Harsha Pherwani
Greenhorn

Joined: Jul 11, 2005
Posts: 27
Hi All,

I would like to validate the integrity of the session before any action is invoked. I am presently creating an application with Struts2 and Tiles.

A couple of years ago when I had used Struts1 and Tiles, I was able to extends a TilesRequestProcessor class before an action mapping was processed.

What is the right way to do something similar with the new Struts framework?

Appreciate your help!

Thanks,
Harsha
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

An interceptor (see also writing interceptors).
Harsha Pherwani
Greenhorn

Joined: Jul 11, 2005
Posts: 27
Thanks David!
 
 
subject: Equivalent of TilesRequestProcessor in struts 2
 
Similar Threads
Instantiation Exceptions
Using custom request processor and Tile framework
RequestProcessor problem on a cluster
URGENT::::::::Problem with Struts and Tiles
Error on RequestProcessor using cluster