2011-5-6 10:15:59 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn
警告: No configuration found for the specified action: 'Login' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
2011-5-6 10:15:59 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn
警告: No configuration found for the specified action: 'Login' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
--commom中的header.jsp中登录
<font color="red">${result}</font>
<s:form action="Login">
<s:textfield label="用户名" name="userName"></s:textfield>
<s:password label="密码" name="password"></s:password>
<s:submit value="登录"></s:submit>
</s:form>
---struts.xml中的配置
<package name="default" namespace="/" extends="struts-default">
<action name="Login" class="org.CollegePro.ssh.web.action.Login" method="login">
<result name="input">/index.jsp</result>
<result name="error">/error.jsp</result>
</action>
</package>
我在struts中配置了namespace="/",但是在s:form中没有配置namespace,所以运行就出现了2011-5-6 10:15:59 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn
警告: No configuration found for the specified action: 'Login' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
解决办法就是在s:form中添加namespace="/" <s:form action="Login" namespace="/">即可。
分享到:
相关推荐
报错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, ...
IllegalStateException: The specified child already has a parent.我的博客中有文章讲解
使用mdadm创建软RAID的具体操作步骤
JAVA连接各种数据库的方法和代码,非常适合JAVA的初学者,可能也适合忘记连接代码的工作人员!
Delete the folder under the specified path
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 ...
vs常见编译错误集锦 vs常见编译错误集锦 vs常见编译错误集锦
mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
Android wifi测试demo结合网上一些代码,编写的,实现了wifi扫描,连接,密码输入等功能
在初始化Vue项目的的时候发现警告 yarn install 查了下发现是,package.json 文件中缺少license参数 { name: movie_view, version: 0.1.0, license: MIT, private: true, scripts: { serve: vue-cli-...
TypeError: No loop matching the specified signature and casting was found for ufunc det 查了半天发现是数据类型的问题,numpy在算逆的时候会先检查一下数据类型是否一致,若不一致就会报错(话说这个错误提示...
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. ...
主要给大家介绍了关于iOS报clang: error: no input files错误的解决方法,文中通过图文介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧。
Optimized the Load ASL operator in the case where the source operand is an operation region. Simply map the operation region memory, instead of performing a bytewise read. (Region must be of type ...
Bai渡Yun链接 内含CK和CK+两个完整数据集,只可用于人脸表情识别的学术研究。The Extended Cohn-Kanade Dataset (CK+): A complete dataset for action unit and emotion-specified expression
提示No input file specified的解决方法.docx
nginx提示No input file specified怎么办.docx
解决No input file specified
The source code for the launcher can be found in the demos/qtdemo directory in the Qt package. This example is built at the same time as the Qt libraries, tools, examples, and demonstrations.