Form action defaulting to 'action' attribute's literal value.
警告: No configuration found for the specified action: '/pages/login' in namespace: '/pages'. Form action defaulting to 'action' attribute's literal value.
2011-5-6 8:42:06 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: No configuration found for the specified action: '/pages/login' in namespace: '/pages'. Form action defaulting to 'action' attribute's literal value.
2011-5-6 8:42:10 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: No configuration found for the specified action: '/pages/login' in namespace: '/pages'. Form action defaulting to 'action' attribute's literal value.
2011-5-6 8:42:10 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: No configuration found for the specified action: '/pages/login' in namespace: '/pages'. Form action defaulting to 'action' attribute's literal value.
解决方法:
未解决前:
<s:form action="/pages/login" method="post" >
<s:textfield name="username" label="用户名"/>
<s:submit value="提交"/>
</s:form>
解决后:
<s:form action="login" method="post" namespace="/pages">
<s:textfield name="username" label="用户名"/>
<s:submit value="提交"/>
</s:form>
Form action defaulting to 'action' attribute's literal value.相关推荐
- js 提交form表单,js更改form表单的action属性
2019独角兽企业重金招聘Python工程师标准>>> js 提交form表单 <s:form id="formID1" action="favo ...
- form表单的action属性设置相对路径
代码如下,当form表单中的action值为savebyform.do时,该表单提交的路径会是什么呢? <form name="form1" action="sav ...
- Cannot retrieve definition for form bean jellyForm on action /jelly.htm
不要每次问题都麻烦人家谷歌百度,把犯下的问题的记下来 struts1中报错: javax.servlet.jsp.JspException: Cannot retrieve definition fo ...
- Form表单的action地址问题
方法一. <form action="${pageContext.request.contextPath}/test/xx.action"></form> ...
- form表单中的action属性
form表单中的action属性的值是表单提交给的url,如果我们没有设置action属性,那么默认的表单还是提交给当前页面 <form action = "register" ...
- struts2的action之间和action向jsp的参数传递
1,在 Action中我们经常会从这个Action跳转到另一个Action中,这时我们就要用到 redirect.redirect-action.chain, 其中redirect和redirect- ...
- 【Java】Struts2配置默认Action和配置Action的默认处理类
配置默认Action <package> <default-action-ref name="index"/> <action name=" ...
- 关于将struts2框架下,使自定义过滤器对部分的action(一个action或多个action)请求忽略的方法
关于将struts2框架下,使自定义过滤器对部分的action请求忽略的方法 首先需要了解一个方法 request.getServletPath() 他将返回一个当前请求的路径的醉详细名称 例如对路径 ...
- Android官方导航栏ActionBar(二)—— Action View、Action Provider、Navigation Tabs的详细用法...
在上一篇文章(Android之官方导航栏ActionBar)中,我们介绍了ActionBar各组成部分的基本应用.ActionBar除了提供Action Buttons外,还提供了多种导航方式如 Ac ...
最新文章
- Open vSwitch(OVS)版本与Linux内核的关系
- Resources about Rx(Reactive Extensions)
- View的setOnClickListener的添加方法
- 计算机技术大神,2017考研:计算机科学与技术学科大神给你的套路
- You specified a pre-MSA CPU in your CFLAGS
- MSSQL SQL简繁转换函数
- 2020年上半年我国互联网网络安全监测数据分析报告
- 常见音频格式开源解码库汇总(持续更新)
- pascal voc2012数据集与主机制作数据集(目标检测篇)
- 线性代数(numpy.linalg)
- 周易六十四卦—水泽节卦
- onsemi安森美FDMS86252L 50V 12A 56mΩ N沟道屏蔽门极MOSFET管
- win10系统的计算机C盘在哪,win10系统只有一个C盘怎么解决
- Linux服务器上设置全局代理访问外网并验证
- 手机换号各种绑定账号换解绑记录
- 江西省一级计算机考试试题,江西省历年计算机一级考试试题
- LeetCode 188. Best Time to Buy and Sell Stock IV(股票买卖)
- 计算机启动后桌面图标都没有了,我的电脑开机后桌面上的图标都没了怎么办?...
- matlab空间杜宾模型命令,matlab 空间杜宾模型
- Edrawing免费下载