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>
待解决
转载于:https://www.cnblogs.com/CrayzCow/p/7658474.html
转载请注明原文地址: https://win8.8miu.com/read-1480357.html