HTTP Status 404 - There is no Action mapped for namespace / and action name Logi

HTTP Status 404 - There is no Action mapped for namespace / and action name Login.
Emergence of this error, depressed half, finally found the version of struts2, I was using the latest struts configuration 2.1.8
In any case could not find the last to find that a change to web.xml the filter definition, easy to use

        <!--  Configure the struts2 filter   -->
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
分类:Java 时间:2009-02-18 人气:627
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.045 (s). 14 q(s)