Struts2
z530650681
这个作者很懒,什么都没留下…
展开
-
警告: No configuration found for the specified action: 'checkLogin' in namespace: ''.的解决办法
用struts2做了一个简单的入门程序,运行成功了,但是总出现这个警告: 警告: No configuration found for the specified action: 'checkLogin' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 虽说对系统的运原创 2015-05-21 23:45:40 · 451 阅读 · 0 评论 -
整合Struts2与Spring以及spring的自动装配
一、需要的JAR文件为:Spring和Struts2框架本身需要的JAR文件以及他们所依赖的JAR文件,比如commons-logging.jar等等,另外还需要Struts2发布包中的struts2-spring-plugin-x.xx.jar。 二、整合过程: (1)在web.xml中增加WebApplicationContext的相应配置, 以下两种配置方式本质是一样的。转载 2015-08-02 16:20:33 · 452 阅读 · 0 评论