2022年7月29日

input标签value值设置为不可修改

摘要: 方法一:readonly 例如 <input type = “text” name = “deptno” value=“<%=d.getDeptno()%>” readonly/> 内容不可修改,但是value值可以传递,是设置input标签为只读模式 方法二:disabled <input typ 阅读全文

posted @ 2022-07-29 11:09 霍志杰 阅读(32) 评论(0) 推荐(0)

在使用<%=request.getContextPath()%>时遇到的错误

摘要: 正确代码: window.location.href = “<%=request.getContextPath()%>/dept/delete?deptno=”+dno; 或 window.location.href = “<%=request.getContextPath()%>”+“/dept/ 阅读全文

posted @ 2022-07-29 09:15 霍志杰 阅读(14) 评论(0) 推荐(0)

导航