本人刚接触java,问题很菜,不好意思
jsp中<% out.println(request.getParamter("username")); %>
居然无法获得数据,我晕死了(环境是tomcat5.5+java6)显示这个错误
================================
HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 37 in the jsp file: /user_reg/user_reg_ok.jsp
The method getParamter(String) is undefined for the type HttpServletRequest
34: <div class="main">
35:   <div class="main_top"></div>
36:   <div class="main_left"></div>
37:   <div class="main_middle"><% out.println(request.getParamter("username")); %></div>
38:   <div class="main_right"></div>
39:   <div class="main_bottom"></div>
40: </div>
……………………
……………………
……………………