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 人气:656
分享到:
blog comments powered by Disqus

相关文章

  • Bloom Filter 算法简介 (增加 Counting Bloom Filter 内容) 2013-05-26

    Bloom Filter的中文翻译叫做布隆过滤器,是1970年由布隆提出的.它实际上是一个很长的二进制向量和一系列随机映射函数.布隆过滤器可以用于检索一个元素是否在一个集合中.它的优点是空间效率和查询时间都远远超过一般的算法,缺点是有一定的误识别率和删除困难.如文章标题所述,本文只是做简单介绍,属于科普文章. 应用场景 在正式介绍Bloom Filter算法之前,先来看看什么时候需要用到Bloom Filter算法. 1. HTTP缓存服务器.Web爬虫等 主要工作是判断一条URL是否在现有的U

  • Struts permissions filter 2010-09-16

    Annex

  • Spring / Struts from the Tomcat to the WPS / WAS migration issues 2010-11-29

    Question: javax.servlet.ServletException: Unable to instantiate Action, menuLoginAction, defined for 'menuLogin' in namespace '/ sys'Error creating bean with name' menuLoginAction ': Scope' session 'is not active for the current thread; consider defi

  • 404 test struts2.0 framework there! Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx 2010-04-18

    Error message: java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter [B] Solution: struts.xml <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "ht

  • Depth Struts2 filter FilterDispatcher - Chinese garbled and character encoding filter 2010-06-30

    Quote A few days ago to see a post in the forum, Chinese garbled on Struts2.0, the landlord uses a spring of the character encoding filter (CharacterEncodingFilter) Uniform Code for the GBK, front to submit form data to the Action, but in Action The

  • struts2 filter (block url) 2010-08-12

    Request path-action name search order 1, access to the path request URI, for example url is: http://server/struts2/path1/path2/path3/test.action 2, first of all to find namespace for the / path1/path2/path3 the package, this package is if there is no

  • Depth the Struts2 filter FilterDispatcher - Chinese garbage and character encoding filter (transfer) 2011-10-14

    [Size = large] quoted a few days ago to see a post in the forum, Chinese garbled on Struts2.0, the landlord uses a spring of character encoding filter (CharacterEncodingFilter) Unicode to GBK, front submit the form data to Action, but the Chinese in

  • Deployment Struts2.x Times Exception starting filter struts2 java.lang.NullPointerException 2010-04-29

    Recently started to see Struts2, used in the project before Struts1.x 1 and 2, the difference is still somewhat But these are followed by the The beginning of the configuration of a simple Hello World took a turn I lost Changed after the last issue t

  • Serious: Exception starting filter struts2 2010-05-06

    Error Code: 2010-5-6 13:39:32 org.apache.catalina.core.AprLifecycleListener init Information: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E: \ MyEclipse 7.5 \ Ge

  • Struts2 v2.1.6 Notes - starting filter struts2 2010-11-13

    1. Start <constant name="struts.devMode" value="true"/> or <constant name="struts.configuration.xml.reload" value="true"/> Error when starting tomcat. org.apache.catalina.core.StandardContext filterStart

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

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

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

processed in 3.672 (s). 13 q(s)