type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: ""
root cause
java.lang.NumberFormatException: For input string: ""
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.
//错误代码
<%@page contentType="text/html"%>
<%@page pageEncoding="GBK" import="model.*"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:useBean id="thing" scope="page" class="model.Things" />
<jsp:setProperty name="thing" property="*" />
<%
Catalog c = CatalogService.getCatalog(Integer.parseInt(request.getParameter("catalogID")));
CatalogService.addThing(c,thing);
//request.setAttribute("c",c)
%>
<jsp:forward page="ListThings.jsp?id=${c.ID}" />