File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 intercepter bypass for specific actions

 
Anshul K Jain
Greenhorn
Posts: 20
Hibernate Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
How can i bypass the some of the my specific actions,to going into the interceptor check in .
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
Configure your action to have a stack that does not contain the interceptor you wish to bypass.
 
Anshul K Jain
Greenhorn
Posts: 20
Hibernate Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply ...
Can you provide me example code for this
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anshuljava jain wrote:

Please check your private messages for an important administrative matter.
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Struts documentation has a reasonable example of how to stack interceptors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic