when i put struts.xml in web-inf it is showing error......when i put in src folder it is working fine.(being applicationcontext.xml in web-inf)
(being struts.xml in
Configure context-param in web.xml like below:
contextConfigLocation /WEB-INF/application-context.xml
And put your application-context.xml in WEB-INF folder.