This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The interceptor is what calls setServletRequest() to actually set the servlet request.
Note that directly accessing the servlet request ties your class to the servlet spec and makes it less testable--in general you rarely need to do this.
Joined: Jan 30, 2009
Thanks David ,
After refering to the some sites i saw that implementing Aware interfaces in for access resources is a bad approach , and the best would be use the Spring Framework IOC for getting all these things to be done .