• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Equivalent of TilesRequestProcessor in struts 2

 
Harsha Pherwani
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An interceptor (see also writing interceptors).
 
Harsha Pherwani
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic