Retrieve servletContext reference in quartz scheduler
问题 I am using Quartz Scheduler with my spring 3.0 based application. I am successfully able to create new schedulers and they are working fine. I have seen thus reference. But.. I am not able to retrieve servletContext in my quartz job file. can anyone help me for How to retrieve servletContext reference in executeInternal() method ?? Gunjan Shah, thx. 回答1: I had a similar need. I sorted it out in a similar fashion to the solution presented here. In my servlet context listener I am setting the