摘要:
第一次请求时,JSP引擎会把这个JSP文件转换成为一个Servlet,Servlet是一个类,创建它的实例,就会调用Servlet的构造方法,所以说应该是Servlet的构造方法。 JSP脚本:<% java代码 %> JSP声明:<%! java代码 %> 在JSP中定义变量或者方法 JSP表达式 阅读全文
摘要:
插件收藏。。 阅读全文
摘要:
<c:redirect>标签通过自动重写URL来将浏览器重定向至一个新的URL,它提供内容相关的URL index.jsp打开先跳转至登录页面,userSession为空,就是未登录 阅读全文
摘要:
//获取当前选择的值 //下拉框选择改变事件 function btnChange(values) { //如果选中的是学生,显示第二个下拉框 if (values == "3") { document.getElementById('sltXS').style.display = ''; } else { document.getElementById('sltXS').style.... 阅读全文
摘要:
名称 ... 阅读全文
摘要:
var lineTime = data.obj.lineTime; var year = lineTime.substring(0, 4); var month1 = lineTime.substring(5, 6); if (month1 == 0) { monthX = lineTime.sub 阅读全文
摘要:
1,尝试引入Iso2Utf String str=Iso2Utf.encode(str); 2,在jdbc,url数据库后边加修改编码格式 ?useUnicode=true&characterEncoding=UTF-8 阅读全文
摘要:
Action service impl 阅读全文
摘要:
尽量使用 obj,id,id比较准确 阅读全文