诡异的html代码中断问题
请求服务器上的bs.jsp,返回到客户端后发现后面一大半内容没有了,从浏览器查看源文件,发现后面一大截html没有了。最后一截代码是:
<!-- add a new record -->
<tr height= "30 " id= "addNewRow ">
<form method= "POST " name=store action=storeData.jsp>
<td> ID </td>
<td nowrap>
<input type= "text " name= "d_s " size= "12 " value= " " id= "begin_date_b "> <input type= "reset " value= " " onclick= "return showCalendar( 'begin_date_b ', 'y-mm-dd '); ">
</td>
<td> <select name= "bHour " style= "width:40px " >
<option value = "0 "> 0 </option> <option value = "1 "> 1 </option> <option value = "2 "> 2 </option> <option value = "3 "> 3 </option> <option value = "4 "> 4 </option> <option value = "5 "> 5 </option> <option value = "6 "> 6 </option> <option value = "7 "> 7 </option> <option value = "8 "> 8 </option> <option value = "9 " selected= "true "> 9 </option> <option value = "10 "> 10 </option> <option value = "11 "> 11 </option> <option value = "12 "> 12 </option> <option value = "13 "> 13 </option> <option value = "14 "> 14 </option> <option value = "15 "> 15 </option> <option value = "16 "> 16 </option> <option value =
然后没有了,奇怪啊.
哪个高手知道是咋回事么?
[解决办法]
你是不是用了什么框架,把异常屏蔽了
试试在你的jsp开头加上try,末尾加上catch,看看能不能捕获什么异常?
[解决办法]
造成这样的错误一般是javascipt出错了
你可以将所有的scipt删了再看
然后慢慢排除你的scipt错误
[解决办法]
页面上出现了JSP运行时错误,导致无法继续。