为什么我添加了<%request.getcharacterencoding("utf-8");> 以后会报错呢? 报错信息:The method getCharacterEncoding() in the type ServletRequest is not applicable for the arguments (String)
<%request.setCharacterEncoding("utf-8") ;%>//(注意是set,不是get)
<jsp:useBean id="myUsers" class="com.po.Users" scope="page"></jsp:useBean>
<%
request.setCharacterEncoding("utf-8");
%>这样的吧