FAQ

3 Comments

Could we add something about the expected location of the struts.xml file? I spent endless hours trying to get Struts2 to work. If something like the following had appeared here in the documentation I might still have hair left.

Expected Location:
struts.xml is expected to be on the web application's classpath. It can be placed in WEB-INF/classes or packaged in the root of a jar and placed in WEB-INF/lib.

Added info regarding struts.xml location; thanks for the feedback. struts.properties has been largely replaced with XML configuration so I'm leaving that out. web.xml is a JEE file so I'm leaving that out as well.