David Newton wrote:What happens if you put the struts.xml at the root of the classpath?
It works! :thumbup: I created a WEB-INF folder moved struts.xml into it and added this folder into classpath. Then I come here to update the message and your reply is already present. Thanks Dave.
Few more questions:
How do I set the properties (request parameters) on the action? I created a new HashMap, added a property to map and then
This is not working as I don't see the change in action properties when debugging.
This is more of a Junit question. I inject services into Struts actions as Spring beans (added applicationContext.xml in classpath) and these beans parse some XMLs, which in turn use some .properties files (added .properties files in classpath). Do I need to charge up all these layers when testing the struts actions? or, can I test the layers isolated. If yes then how do I provide the fake services to struts actions?