03 2015 档案

iframe的数据获取的方法
摘要:在主页面里面把iframe的src设置成某一个action,然后这个iframe的位置的action会对应的指对到struts.xml里面的action,然后在打开主页时,iframe的位置就进入对应的action,然后就可以执行Action文件里面的内容,如果Action的返回页面还为这个页面,那... 阅读全文

posted @ 2015-03-21 23:09 不得了啦 阅读(1036) 评论(0) 推荐(0)

checkbox一些用法
摘要:String[] delid = req.getParameterValues("delid"); if (delid != null) { for (int i = 0; i < delid.length; i++) { TextEntity te... 阅读全文

posted @ 2015-03-11 22:56 不得了啦 阅读(252) 评论(0) 推荐(0)

doGet和doPost的数据的获取
摘要:在Servlet里面,其中有一种方式是通过/search?username=" title="查看个人资料" target="_blank">来提交信息,在点击点击链接的时候,username的数据传给链接到的页面,在打开的页面里,因为他是一个doGet方法,所以汉字可能会产生乱码,这时候在接受页面... 阅读全文

posted @ 2015-03-11 21:02 不得了啦 阅读(1074) 评论(0) 推荐(0)

导航