title: How to get the Servlet Context from ServletRequest in Servlet 2.5?
body: <p>I am using Tomcat 6 which uses Servlet 2.5. There is a method provided in Servlet 3.0 in the <code>ServletRequest</code> API which gives a handle to the <code>ServletContext</code> object associated with the <code>ServletRequest</code>. Is there a way to get the <code>ServletContext</code> object from the <code>ServletRequest</code> while using the Servlet 2.5 API?</p>