adding applicationContext and also changes in web.xml