request.setAttribute 语句前总显示红色感叹号解决办法 HTTP Status 500 -

时间:2013-10-28 07:11:29
【文件属性】:
文件名称:request.setAttribute 语句前总显示红色感叹号解决办法 HTTP Status 500 -
文件大小:99B
文件格式:TXT
更新时间:2013-10-28 07:11:29
request.setAttribute 语句前总显示红色感叹号解决办法 HTTP Status 500 HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.Error: Unresolved compilation problem: The method setAttribute(String, Object) in the type ServletRequest is not applicable for the arguments (String, double) y2ssh.sg.chp1.action.AddAction.execute(AddAction.java:18) y2ssh.sg.chp1.framework.Controller.doGet(Controller.java:25) y2ssh.sg.chp1.framework.Controller.doPost(Controller.java:33) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)解决办法:

网友评论