Servlet.service() for servlet [jsp] in context with path [/hospitalManage]错误的解决方案 2017-10-12 22:25:53
十月 12, 2017 10:04:22 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [jsp] in context with path [/hospitalManage] threw exception [An exception occurred processing JSP page /login.jsp at line 105
源码:
<tr colspan="2"> <td class="centerTxt"> <input checked="checked" type="radio" value="1" name="radio">医生 <%if(Integer.parseInt((String)(request.getAttribute("role")))==1){%> <input checked="checked" type="radio" value="1" name="radio">医生 <% } %> </td> <td class="centerTxt"> <input type="radio" value="2" name="radio">护士 <%if(Integer.parseInt((String)(request.getAttribute("role")))==1){ %> <input type="radio" checked="checked" value="2" name="radio">护士 <%} %> </td> </tr>