Forums Register Login

serveltrequestlistener problem

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Have you tried calling getServletRequest() instead?
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 676 times.
Similar Threads
HttpServletRequest
Listeners Vs Filter
Conversational state chapter question
Servlet Request Listener Query
about RequestListners ??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:02:21.