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.我的博客中有文章讲解
报错crashsender.exe is not found the specified path
This is the default action if dest does not exist, or if no filesystem is on it -keep-as-directory If one source directory is specified, create a root directory containing that directory, ...
specified virtual disk needs repair。附修复工具和使用方法。 分数不够的可以到VM官方下载修复工具,如果找不到就贡献1分下载我上传的吧:) =====================================================================...
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 ...
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 ...
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 ...
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...
解决Mysql Error-The user specified as a definer (‘mysql.infoschema’@’localhost’) does not exist
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.
在初始化Vue项目的的时候发现警告 yarn install 查了下发现是,package.json 文件中缺少license参数 { name: movie_view, version: 0.1.0, license: MIT, private: true, scripts: { serve: vue-cli-...
Stepping to the next line in the source program . . . . . . . . . . . . Stepping into a subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Examining the Stack . . . . . . . . . ....
使用mdadm创建软RAID的具体操作步骤
number of Network Addresses specified in Preferences->Network will be the number of NICs tested. This will error faulty NICs that are not detected by the BurnInTest auto NIC detection mechanism. ...
8.Added: the 'Organize' menu onto the main menu, as many users can't find the 'Sort child items' utility, which is also located in the 'Outline' action menu. 9.Added: Alt-Drag to create symbolic links...
vs常见编译错误集锦 vs常见编译错误集锦 vs常见编译错误集锦
Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged. encodeUrl(String) - Method in class javax.servlet....
- ADD Added editing form for TBackgroundOptionsProp property in the FlexEdit/FlexEditSE projects. Version 1.6 ----------- - ADD Import/Export modules support (new unit FlexFileFormats) - FIX HPen ...
提示No input file specified的解决方法.docx
Press [Enter] to store the specified data in the transceiver. (See Service Manual for details) RF Low Power Help Preset RF Power Low level adjustment. This feature has 5 adjustment points to ...