private method with springmvc
问题 I have two methods in my controller: a public method a private method They all have @requestMapping and they all quotes a global variable( @autowrite ). The problem is that the first method the variable has value and the second method variable is null. Please help me. /** * Both of these methods are accessible through the browser, * when i ask for query1 the flowService has value but * when i ask for query2 the flowService is null. * My spring version is 4.2.4 * Created by hanxiaofei on 2017