}
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse rsp)
throws IOException {
Entry ent = toc.get(req.getPathInfo());
if (ent == null) {
rsp.sendError(SC_NOT_FOUND);
return;
}
switch (ent.getType()) {
case FILE:
doGetFile(ent, req, rsp);
break;
case DIR: