• Post Reply Bookmark Topic Watch Topic
  • New Topic

Functionality of the TokenInterceptor class in struts2 to struts1  RSS feed

 
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: 9429
12
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!