摘要: JAVA后台 关于如何从后台传递信息在jsp前端页面显示 首先,博主今天为了将后台的信息传递到前台,废了不少的脑筋,一开始,博主采用了request.setAttribute()的方法,来实现的,具体代码如下: 在servlet中,写上: request.setAttribute(“name”, l 阅读全文
posted @ 2018-07-09 18:52 _小董 阅读(6775) 评论(0) 推荐(0) 编辑
摘要: Can not issue data manipulation statements with executeQuery() 原因是这句:st.executeQuery("insert into student values('"+name+"','"+age+"','"+introduce+"') 阅读全文
posted @ 2018-07-09 17:35 _小董 阅读(262) 评论(0) 推荐(0) 编辑