
jsp
Y_Ber
这个作者很懒,什么都没留下…
展开
-
characters cannot be mapped
some characters cannot be mapped using iso-8859-1 character encodingMyEclipse中新建一个.properties文件,如果输入中文保存时就会提示错误Reason:some characters cannot be mapped using "ISO-8859-1" character encoding.Either chan原创 2010-03-15 22:08:00 · 586 阅读 · 0 评论 -
复选框回显
<% List list = (List)request.getAttribute("paramList"); for(int i=0;i<list.size();i++) { String paramValue = (String)list.get(i); %> <%} %>原创 2010-07-02 13:20:00 · 595 阅读 · 0 评论 -
复选框回显
<br /> <c:when test="${data.id=='学费减免限制贫困等级'}"><br /> <c:forEach var = "kndj" items = "${kndjList }" varStatus="status"><br /> <input type = "checkbox" name = "p_param_value" value = "${kndj.id }"><br />原创 2010-07-28 09:36:00 · 1126 阅读 · 0 评论 -
关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
<br />关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法<br />"window.location.href"、"location.href"是本页面跳转<br />"parent.location.href"是上一层页面跳转<br />"top.location.href"是最外层的页面跳转<br />举例说明:<br />如果A,B,C,D都是jsp,D是C的ifram原创 2010-06-12 19:13:00 · 459 阅读 · 0 评论 -
图片显示及路径
String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>原创 2010-06-19 12:45:00 · 617 阅读 · 0 评论 -
"/"
<br />HTML: "/"指向http://localhost:8080<br />web.xml: "/"指向http://localhost:8080/项目名<br />'/ : 加不加都行,指当前路径<br />''/ : 指上一级目录原创 2010-06-16 09:56:00 · 540 阅读 · 0 评论