Please reply me how to initialize a bean in spring framework on the start of the application. My application has an index.jsp file which I have added in the web.xml file under welcome-file list. So when I start an application this is my first page but in this page I have a login logic, I mean i have username and password where I do not have controller, validator, bean class. can anyone pls help me to approach this pls
thanks in advance.