用request.setAttribute(,)方法,再用el表达式得到这个值却多出现了一段乱码,求解答
<jsp:useBeanid="db"class="bean.DBBean"scope="application">request.setAttribute("bean"...
<jsp:useBean id="db" class="bean.DBBean" scope="application">request.setAttribute("bean",db);function deletebyid(name){ var $val=${bean}; $val.executeUpdate("DELETE FROM cure_record where doc_name ='"+name+"'"); alert(name);}
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询