摘要: 对着参考书上的方法配置struts.xml来实现动态Action功能。 Struts.xml如下 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Str 阅读全文
posted @ 2017-12-22 14:38 zqm233 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Eclipse + Tomcat7 环境 1.配置Struts遇到的第一个问题就是用了Build Path的方法导入struts包,会造成ClassNotFound,解决方法是直接复制struts jar包到WEB-INF的lib包下(在2.5中 xwork包已经包含在struts-core包里)。 阅读全文
posted @ 2017-12-22 14:35 zqm233 阅读(107) 评论(0) 推荐(0) 编辑