Originally posted by sid sree:
Can anyone give me the spec link for
HttpServletRequestEvent and
HttpServletRequestListener
As per the information available in the Manning's SCWCD Exam Study Kit,
The last listener interface we�ll present keeps track of the life cycle of an HttpServletRequest. It receives notification whenever a request comes into scope.
ServletRequestListener methods and Descriptions:
void requestDestroyed(ServletRequestEvent sce): Called when the request is destroyedvoid requestInitialized(ServletRequestEvent sce): Called when the request is initialized
It�s important to inform the web container about your listener classes. This involves setting parameters within the deployment descriptor
HttpServletRequestEvent is what given to the listeners during the notification. I believe you could have got that by now.
Does this give you some required info?