servletcontext « Resource « JSP-Servlet Q&A





1. Java accessing ServletContext from within restlet Resource    stackoverflow.com

I am using Tomcat server in java and wanted to be able to access the ServletContext from the restlet Resource in order to access my cached DataSource object (to pool mysql ...