wood burning stoves*
The moose likes Struts and the fly likes Struts 2 intercepter bypass for specific actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 intercepter bypass for specific actions" Watch "Struts 2 intercepter bypass for specific actions" New topic
Author

Struts 2 intercepter bypass for specific actions

Anshul K Jain
Greenhorn

Joined: Jul 24, 2010
Posts: 20

Hi Friends,
How can i bypass the some of the my specific actions,to going into the interceptor check in .
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

Welcome to the JavaRanch.
Configure your action to have a stack that does not contain the interceptor you wish to bypass.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Anshul K Jain
Greenhorn

Joined: Jul 24, 2010
Posts: 20

Thanks for the reply ...
Can you provide me example code for this
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

anshuljava jain wrote:

Please check your private messages for an important administrative matter.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

The Struts documentation has a reasonable example of how to stack interceptors.
 
 
subject: Struts 2 intercepter bypass for specific actions