• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is interceptor-ref tag in struts?

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my project on strutsconfig.xml following interceptor-ref tag is used ..why we use it?




Thanks
Kaustubh

 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is basically a filter for controlling requests (Basically sits between controller and action).

Could be used for Image-Upload/EventLogging etc.

It's explained very well in Struts2 docs http://struts.apache.org/2.x/docs/interceptors.html

Cheers
Aneesh
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The interceptor-ref element defines an interceptor stack and may set parameters on the stack's interceptors.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.....

kaustubh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic