This example uses only index.jsp with no backing bean. It also places applicationContext.xml in the WEB-INF directory… which seems to be the only way it will work with DWR for some reason.
I placed my applicationContext.xml in my src directory (I think it does this by default? Where should it go?)
I need to move applicationContext.xml to WEB-INF from src to make DWR work, but when I do, my application doesn’t work because…
beanFactory = new XmlBeanFactory(new ClassPathResource(“applicationContext.xml”));
… no longer finds applicationContext.xml in src where it expected it.
Is there a way to move applicationContext.xml to WEB-INF from src and get things pointed the correct direction?