Webxml 添加struts的核心控制器

img_4.png 1:解耦,ActionContet ActionContext.getContext().getSession().put("employee", employee); 2:耦合,ServletActionContext include配置多个struts的xml img_5.png

配置struts.xml ->配置Action和Result

img_6.png