Author: aparfonov
Date: 2009-10-16 11:45:39 -0400 (Fri, 16 Oct 2009)
New Revision: 291
Modified:
ws/branches/2.2.x/rest/core/src/main/java/org/exoplatform/services/rest/servlet/BaseRestServlet.java
Log:
EXOJCR-185 :
Modified:
ws/branches/2.2.x/rest/core/src/main/java/org/exoplatform/services/rest/servlet/BaseRestServlet.java
===================================================================
---
ws/branches/2.2.x/rest/core/src/main/java/org/exoplatform/services/rest/servlet/BaseRestServlet.java 2009-10-16
13:40:34 UTC (rev 290)
+++
ws/branches/2.2.x/rest/core/src/main/java/org/exoplatform/services/rest/servlet/BaseRestServlet.java 2009-10-16
15:45:39 UTC (rev 291)
@@ -66,7 +66,7 @@
env.put(HttpServletRequest.class, httpRequest);
env.put(HttpServletResponse.class, httpResponse);
env.put(ServletConfig.class, servletConfig);
- env.put(ServletContext.class, getServletContext());
+ env.put(ServletContext.class, servletConfig.getServletContext());
try
{