I implemented ServletRequestListener and placed it in tomcat and weblogic. My intension is when ever there is a request to the container I want to execute some code. But this listener is working fine in tomcat and it is not working in weblogic. even though the servletRequestListener is working finein tomcat, In destroy(ServletRequestEvent sre) of the listener I am trying to get the ServletRequest on which this ServletRequestEvent is generated by ServletRequestEvent.getRequest() .compilation is going fine and when I place this in tomcat it is throwing an internal server error saying that ServletRequestEvent.getRequest() not found.why is it saying like that.
posted 12 years ago
Have you tried calling getServletRequest() instead?
James Carman, President<br />Carman Consulting, Inc.