1.listener监听器访问service层; 2.servlet 访问service层的方法 *红框里面的代码就是手动加载上下文获取bean; 如果该service层没有在spring扫描范围内,需要手动注入;