- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 Do you believe in life after death
Do you believe in life after death"Do you believe in life after death?" the boss asked one of his employees. "Yes, Sir." the new recruit replied. "Well, then, that makes everything just fine," the b
2007-05-29 13:15:00 1164
原创 action带自定义的方法,但是访问不到的原因。
在struts里定义了一个自定义方法名:mymethod.在jsp里通过*.do?method=mymethod访问不到的原因可能是在 method=”post”>黑体字部分落下了。
2007-05-25 14:10:00 927
原创 firefox中表单提交用submit()
在jsp页面中提交表单时,通过document.form.submit()。 但是在firefox中submit()方法是会报错的。那么完成同样的操作该用什么方法呢?在jsp页面的表单中 input type="button" value="submit" onClick="check()"> input type=submit style=display:none id
2007-05-25 14:05:00 2498 1
原创 弹出窗口返回值---IE和firefox兼容
开发中遇到了这样的问题,有一个需求就是在脚本中打开一个新窗口,并且要从新窗口返回值到父窗口。用window.showModalDialog()函数可以打开一个窗口,并且可以从这个新窗口得到返回值,只要新窗口中有这样的语句:window.returnValue = values;values为新窗口的返回值。但是firefox不支持showModalDialog()函数。所以在为了使网页实现I
2007-05-23 10:15:00 3730 2
原创 jsp 页面乱码问题
这两天在开发过程中遇到了个奇怪的问题:同样一个web应用,同一个jsp在不同的操作系统中要通过不同的处理才能解决乱码问题。 jsp页面的默认编码为UTF-8。当把textarea中的内容提交给本页面时,但在win操作系统的时候,直接提取标单数据就可以,如request.getParameter("textarea");但是在linux操作系统中,提取数据时,要通过字符
2007-05-18 15:06:00 768
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人