2) web.xml is placed in the web-inf directory, and the location of applicationContext.xml can be defined in the web.xml directory
<context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:/applicationContext*.xml </param-value> </context-param>
3) struts.xml is responsible for the url entry, java method, and the mapping of the returned page. (src---->web-inf\classes)
applicationContext.xml instantiate beans