• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Functionality of the TokenInterceptor class in struts2 to struts1

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to achieve the functionality of the TokenInterceptor class in struts2 in struts1?
Do I copy the source code of of the TokenInterceptor class in struts2 to struts1 and recompile?
 
Joe Ess
Bartender
Posts: 9318
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1 does not have interceptors. The way to accomplish similar functionality with Struts 1 is discussed here.
BTW, if you can avoid it at all, don't use Struts 1. It has serious architectural problems that are addressed in Struts 2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic