What are Interceptors?



What are Interceptors?..

Answer / santhosh

Struts 2 provide powerful mechanisam for controling the
request using interceptors.Interceptors are responsible for
request processing.They r invoked by controller before and
after invoke the action

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a null class?

0 Answers  


What is prefix of a string?

0 Answers  


What is a function in programming?

0 Answers  


what is ejb? what is the importance of ejb?

2 Answers   Photon,


Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.

3 Answers  






what is the difference b/w PUT and POST method to send data to the server

5 Answers   Mind Tree,


What is a static class in java?

0 Answers  


How to reduce flicking in animation?

3 Answers   TCS,


how to convert mm/dd/yy to dd/mm/yy using collections in java.

4 Answers   Bosch,


Why Java is not purely object oriented?

50 Answers   Elitecore, Persistent, Reliance, Wipro,


Explain the Propertie sof class?

0 Answers  


whats the diff between jsp and servlets?

9 Answers   HCL, TCS,


Categories