`
donkee
  • 浏览: 13279 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
社区版块
存档分类
最新评论

警告: No configuration found for the specified action: 'regAction.action' in names

阅读更多

 struts.xml

 

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
   <package name="struts2" extends="struts-default">
   	   <action name="regAction" class="com.ex.action.RegAction">
   	   	  <result name="success">/success.jsp</result>
   	   </action>
   </package>
</struts>    

  

reg.jsp

 

<s:form action="regAction.action" >
    	<s:textfield name="username" label="username"></s:textfield><br/>
    	<s:password name="password" label="password"></s:password><br/>
    	 <s:submit value=" reg "></s:submit>
    </s:form>

 

在控制台上有警告信息

 

2010-12-13 11:40:06 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: No configuration found for the specified action: 'regAction.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

 

 

处理方式

    将reg.jsp中的 regAction.action的后缀.action去掉!

分享到:
评论

相关推荐

    关于IllegalStateException: The specified child already has a parent.

    IllegalStateException: The specified child already has a parent.我的博客中有文章讲解

    CrashSenderexe.zip

    在我们的日常计算机使用中,有时会遇到这样的情况:“报错crashsender.exe is not found the specified path”,这通常意味着系统尝试执行一个名为“CrashSender.exe”的可执行文件,但无法在指定的路径中找到它。...

    cesiumlab依赖库.zip

    Error: The specified module could not be found. 1\?C:\Program Files\cesiumlab2\tools\LabNative.node 请下载此依赖底(包含vcruntime140_1.dll和msvcp140_1.dll),解压到C:\Windows\System32下

    VMWare (specified virtual disk needs repair...)修复

    specified virtual disk needs repair。附修复工具和使用方法。 分数不够的可以到VM官方下载修复工具,如果找不到就贡献1分下载我上传的吧:) =====================================================================...

    ASP.NET The system cannot find the file specified解决办法

    ASP.NET The system cannot find the file specified解决办法 Server Error in ‘/’ Application. The system cannot find the file specified Description: An unhandled exception occurred during the execution...

    struts2开发遇到的问题

    2. **警告:No configuration found for the specified action: 'sum.action' in namespace: ''** 这个警告通常是因为Struts2找不到指定的Action。如果在JSP中使用 `&lt;s:form action=”sum.action”&gt;`,对应的源文件...

    Change Color of Component in Specific Display State Example

    Preconditions: Verify that the specified assembly and part exist. Postconditions: 1. Opens the specified assembly document. 2. Examine the graphics area, then press F5. 3. Changes the selected ...

    QT学习笔记(四十多个问题解决方案)

    ### QT学习笔记(四十多个问题解决方案) 在个人学习与使用QT的过程中,遇到了一系列的问题,并针对这些问题找到了相应的解决方案。本文将详细介绍这些解决方案,帮助其他开发者更好地掌握QT开发技巧。...

    EurekaLog_7.5.0.0_Enterprise

    1)....Fixed: Added workaround for codegen bug in Delphi 7 (possibly - other), bug manifests itself as wrong date-time in reports or integer overflows 2)....Fixed: Some MAPI DLLs may not be loaded ...

    openssh8.5.p1.tar.gz 快速升级

    OpenSSH 命令注入漏洞(CVE-2020-15778),文件包含installs.sh、openssh-8.5p1.tar.gz、openssl-1.1.1i.tar.gz、zlib-1.2.11.tar.gz。升级时候将openssh.tar.gz放至/home下解压,进入openssh目录,执行chmod +x ...

    hash table spell checking

    it is found in the word list file) is a possible correction. Your solution to this assessment should consider the following variations of a misspelled word. • Transposing of adjacent letters For ...

    JAVA连接各种数据库

    Class.forName("oracle.jdbc.driver.OracleDriver"); String url = "jdbc:oracle:thin:@localhost:1521:orcl"; // orcl 为 Oracle 的 SID String user = "test"; String password = "test"; Connection conn = ...

    执行有关electron-edge项目时需要的dll文件

    描述中提到的错误提示 "The specified module could not be found \\?\D:\..." 是Windows系统找不到特定模块(通常是DLL文件)时抛出的常见错误。将这些DLL文件放入项目的根目录,通常是因为它们是Electron-Edge或其...

    'FrontEnd Plus' The GUI for the fast JAva Decompiler.

    o decompile a single JAVA class file 'example1.class' type the following: ...one class specified in the command line. Jad looks for inner classes in the directory of their top-level container class.

    BURNINTEST--硬件检测工具

    number of Network Addresses specified in Preferences-&gt;Network will be the number of NICs tested. This will error faulty NICs that are not detected by the BurnInTest auto NIC detection mechanism. ...

    使用mdadm创建软RAID

    "使用mdadm创建软RAID详解" 在Linux系统中,mdadm是一个强大的工具,可以用来创建软RAID(Software RAID),软RAID可以将多个硬盘组合成一个逻辑硬盘,以提高存储容量和读写性能。本文将详细介绍使用mdadm创建软...

    提示No input file specified的解决方法.docx

    "No input file specified解决方法" 在Web服务器中,"No input file specified"是常见的错误信息,出现该错误的原因有多种,例如PHP.ini文件配置不正确、Apache或Nginx服务器配置不当等。下面将从IIS、Apache和...

    nginx提示No input file specified怎么办.docx

    Nginx 提示 "No input file specified" 的解决方法 Nginx 是一个流行的开源 web 服务器软件,然而,在使用 Nginx 时,有时可能会遇到 "No input file specified" 的错误提示,这篇文章将详细讲解该错误的解决方法。...

    报错 代码 经验

    : No configuration found for the specified action: 'fileUpLoad.action' in namespace: '/manager'. Form action defaulting to 'action' attribute's literal value. ``` **知识点解释:** 1. **问题描述:** ...

    Debugging with GDB --2007年

    Stepping to the next line in the source program . . . . . . . . . . . . Stepping into a subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Examining the Stack . . . . . . . . . ....

Global site tag (gtag.js) - Google Analytics