doPost自己要抛出ServletException,DB操作要抛出SQLException,但是这两个又不能同时写在throws后面,会提示出错Exception SQLException is not compatible with throws clause in HttpServlet.
 doPost(HttpServletRequest, HttpServletResponse)又不能直接写抛出Exception请问这个该怎么办