2015年10月22日

做多重下拉列表?

摘要: 如何做省份的下拉列表?1获取select对象 var selProv=getEl("prov");//获取对象2,遍历select对象 selProv.options[n]=opt;3,获取省份对象 var prov=new Array(2); prov["陕西"]=["西安","... 阅读全文

posted @ 2015-10-22 22:44 kebizhanmushi 阅读(410) 评论(0) 推荐(0) 编辑

如何做当当网购物结账页面?

摘要: 商品金额总计:document.getElementById("product_total").innerHTML=Math.round(total*100)/100; //保留小数点后两位您共节省金额:¥document.getElementById("product_save").innerHT... 阅读全文

posted @ 2015-10-22 21:48 kebizhanmushi 阅读(536) 评论(0) 推荐(0) 编辑

简单分页

摘要: 1,a.jsp画表格2,b.jsp写代码。 第一步:通过request.getParameter("m");//获取m的值 第二步:通过pageIndex=Integer.parseInt(m);获取当前页码 第三步:调用dao.findByPage... 阅读全文

posted @ 2015-10-22 19:58 kebizhanmushi 阅读(106) 评论(0) 推荐(0) 编辑

Can not find the tag library descriptor for "http://java.sun.com/jsp/ jstl/core"

摘要: 1,Can not find the tag library descriptor for "http://java.sun.com/jsp/ jstl/core" - Can not find the tag library descriptor for "http://java.sun.co... 阅读全文

posted @ 2015-10-22 17:03 kebizhanmushi 阅读(3380) 评论(0) 推荐(0) 编辑

Could not publish server configuration for MyEclipse Tomcat v7.0. Multiple Contexts have a path

摘要: Could not publish server configuration for Tomcat v6.0 Server at localhost. 经常在使用tomcat服务器的时候 总会发生一些莫名其妙的错误。 就像下面这个错误: 在配置文件中存在多个/MyWeb的配置,导致不能发布服务。... 阅读全文

posted @ 2015-10-22 16:41 kebizhanmushi 阅读(542) 评论(0) 推荐(0) 编辑

导航