标签:loader listen 如何 quartz web gets let ica ram
ContextLoader.getCurrentWebApplicationContext().getServletContext()
web.xml里加个:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
如何在spring quartz类中拿到ServletContext
标签:loader listen 如何 quartz web gets let ica ram
原文地址:https://www.cnblogs.com/jpfss/p/9765500.html