`

No configuration found for the specified action: 'helloworld.action' in namespac

 
阅读更多

今天首次使用Struts2,配置一切正常,使用常用tag也正常,但是在使用<s:form>标记时,发现控制台总是输出警告信息,

警告信息内容如下:

警告: No configuration found for the specified action: 'ShowMessage' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
2008-9-6 11:35:47 org.apache.struts2.components.Form evaluateExtraParamsServletRequest
警告: No configuration found for the specified action: 'ShowMessage' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

 

解决办法很简单:出现错误的原因是:提交表单中action用的是ShowMessage.action  只有表单的action设置为ShowMessae就行了,Struts2会默认追加.action

1
1
分享到:
评论

相关推荐

    关于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”的可执行文件,但无法在指定的路径中找到它。...

    解决SpringDataJPA报错:org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null w

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...

    报错 代码 经验

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

    在Win7系统下抛出java.net.SocketException的解决办法

    - **SocketException**:“Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface”。 - **ChannelException**:关于协议栈启动失败的信息。 - **NameNotFoundException**:查找特定...

    http接口调用报错.rar

    接口调用报错:java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory

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

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

    struts2开发遇到的问题

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

    Web Navigation

    VISIT : Push the current page on the top of the backward stack, and make the URL specified the new current page. The forward stack is emptied. QUIT: Quit the browser. Assume that the browser ...

    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 ...

    TMS Component Pack v8.3.4.0 - Delphi 10.1 Berlin Full Source

    - Fixed : Issue with toolbar button drawing in hot & down state when no glyph is specified - Fixed : Issue with QAT height when not using the QAT on a TAdvToolBarForm Update : ...

    JavaScript

    Its association with the browser makes it one of the most popular programming languages in the world. At the same time, it is one of the most despised programming languages in the world. The API of ...

    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 ...

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

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

    apktool documentation

    For the most part any apk in /system/framework on a device will be a framework file. On some devices they might reside in /data/system-framework and even cleverly hidden in /system/app or /system/priv...

    make.exe希望对你有用

    `mingw`(Minimalist GNU for Windows)是将GNU编译器集合(GCC)移植到Windows平台的项目,它允许开发者在Windows上编译原生的Windows应用程序。`make.exe`在msys/mingw环境下运行,可以更好地配合这些Unix工具进行...

    UE(官方下载)

    For example, If ^(h*o^) ^(f*s^) matches "hello folks", ^2 ^1 would replace it with "folks hello". Perl compatible regular expressions An introduction to using Perl-style regular expressions for ...

    STG (SNMP Traffic Grapher)

    e.g.: 2001-Feb-12 15:07:28.89,24244074,5078,21215 Features added: 1. Window size and status/title bar state are being saved/restored. Changes in version 1.4.0: Bugs fixed: 1. One memory leak ...

    计算机网络第六版答案

    Hence, it becomes possible for the attacker to issue a command to all the nodes, that target a single node (for example, all nodes in the botnet might be commanded by the attacker to send a TCP SYN ...

Global site tag (gtag.js) - Google Analytics