Sergey Beryozkin wrote:
> Looks like I've missed it,  2.1.3 release has been tagged, unless it's
> possible to somehow do the very last update ? So my merge is going into
> 2.1.4-SNAPSHOT.
> As a temp workaround, you can always inject a ServletContext as a method
> parameter, not very nice, but it's an option nonetheless...

Or just do it through Spring.  Either have your impl class implement
ServletContextAware or if you don't want to tie it to a Spring
interfacen then remove the @Context from the setServletContext method
and add a

<property name="servletContext">
  <bean
class="org.springframework.web.context.support.ServletContextFactoryBean" />
</property>

to your RestAminService bean.

Ian

-- 
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to