struts框架

struts 包结构及说明 src - src包**意点 action包为控制层,相当于controller 1.需要继承 DispatchActionSupport 2.声明注解 3.需要在action-servlet.xml文件中配置(如下图) 4.运行ant工具下build.xml文件,该操作会在struts-config.xml下生成映射 dao层为数据库访问层 实现类需要继承MyDaoS
相关文章
相关标签/搜索