猜数字,struts2改写遇到的问题。
来源:互联网 发布:雅可比矩阵中的d 编辑:程序博客网 时间:2024/05/16 09:54
猜数字,struts2改写遇到的问题。
原代码:
<form action="/simplejeeStudy/numberGuess.action?method:check" method="post">
请输入1-100之间的数值: <input type="text" name="guessNum" ></input>
<input type="submit" />
</form>
问题:
<form action="/simplejeeStudy/numberGuess.action?method:check" method=?>
如果不写method或method=“get”,
?后面的method:check就不会传过去,传过去的是
http://localhost:9090/simplejeeStudy/numberGuess.action?guessNum=10
(guessNum=10 是表单中的数据)
method=“post”,发过去的才是正确的请求
http://localhost:9090/simplejeeStudy/numberGuess.action?method:check
- 猜数字,struts2改写遇到的问题。
- struts2遇到的问题
- Struts2遇到的问题
- 改写某个模拟器的go语言源码遇到的问题
- merge改写sql遇到的等效性问题
- 初学struts2遇到的问题
- 配置struts2遇到的问题
- 使用Struts2遇到的问题
- Struts2的配置,以及遇到的问题
- struts2学习中遇到的一些问题
- struts2 中使用 servlet遇到的问题
- 初学struts2编程遇到的问题
- struts2学习中遇到的问题
- Struts2集成Tiles2遇到的问题
- struts2.2配置遇到的问题
- 用struts2遇到的相关问题集
- 使用struts2 convention插件遇到的问题
- Struts2上传时遇到的问题
- 从VC6到VC9移植代码问题总结
- 必须掌握的八个cmd 命令
- .NET面试必备
- 微软资深项目经理人Stephen Maguire的项目管理经验
- MTK笔记
- 猜数字,struts2改写遇到的问题。
- getServletContext()方法的使用
- oracle cursor type
- Get Thing Done 时间管理
- WINCE的内存配置-config.bib文件的解析
- winform与web 按钮button去掉边框
- Windows Mobile注册表攻略
- Autoconf/Automake使用备忘
- 报道篇:初来咋到!