File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 8707
    
    6

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: 9990
    
    7

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: 8707
    
    6

The Struts documentation has a reasonable example of how to stack interceptors.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 intercepter bypass for specific actions
 
Similar Threads
applet problem
Cewolf : how to paint specific point
WA #1.....word association
How to track NullPointerException in development environment ?
Redirect to another action in Interceptor