能不能详细的讲解一下response.sendError(int number);啊?

zxplzy 04-08-11

能不能详细的讲解一下response.sendError(int number);啊? 最好给个SERVLET的代码,谢谢
org.cnjsp.util.PropertyManager pm = org.cnjsp.util.PropMan.getInstance("/cnjbb2.properties");
pm.reloadProps();
String status = pm.getProperty("status");
if(status == null || status.equals("install")) {
response.sendError(404);
return;
}

1