20160409
2016-04-09 01:15
495 查看
有些错误没有及时截图,写解答方法,今天就不贴了
- 用struts 前台数据传给后台 用form表单
Q:后台收不到数据
A:比如input中必须把name的值写成和java类中成员变量名一样
The requested resource is not available
Q:跑网页后经常遇到
A:我这里是没有写action
- 用struts 前台数据传给后台 用form表单
Q:后台收不到数据
A:比如input中必须把name的值写成和java类中成员变量名一样
<form action="login.action" method="post"> name: <input type="text" name="name" > <input type="submit" value="submit"> </form>
The requested resource is not available
Q:跑网页后经常遇到
A:我这里是没有写action
<action name="login" class="org.action.LoginAction" method="excute"> <result name="success">/welcome.jsp</result> <result name="error">/error.jsp</result> </action>
相关文章推荐
- ORA-19698: /home/xxx/xxx/redo01.log is from different database
- Js实现类似PHP里trim方法
- 把一个Color转为html里所用的颜色代码
- 利用缓冲区溢出越过if校验
- CentOS 7.0安装Mysql
- linux 下记录ssh的操作日志
- Selector 失效
- x86汇编--(七)仿高级语言之for循环嵌套打印字符串
- zookeeper和kafka实践
- 笔记本自带 WiFi 功能
- LeetCode 62. Unique Paths
- CF 628A --- Tennis Tournament --- 水题
- codeforces 660B B. Seating On Bus(模拟)
- Android Paint之 setXfermode PorterDuffXfermode 讲解
- Android Studio 导入 Vitamio及其笔记
- Particle 离子系统
- Android的启动过程
- 跟我一起学习MySQL技术内幕(第五版):(第二章学习日记2)
- Git教程总结,一些日常用到的基本方法
- codeforces 660A A. Co-prime Array(水题)