I need some help regarding spring re-initialization of component
I am currently using following in my DAO
@Autowired
ScopeTest scopeTest;
and model as -
@Component
public class ScopeTest{
private String scopeId ; // STRING(60),
private String scopeType; // STRING(60),
}
the issue i am facing is, while tesing if the type is null the new response is keep showing me older value. It seems that the component need to re initlize on every request/responce session but help me what is the right solution