throw new ServletException("need login");
}
// �ӽõ��丮�� ���� ����
File file = saveToTemp(request);
// ���� ������¡
Thumbnailer tt = new Thumbnailer(file.getPath(),
getServletContext().getRealPath(request.getContextPath())
+ "/profile/"+ sid + ".jpg",
385, 385);
tt.createThumbnail();
try {
Thread.sleep(1000);
} catch (InterruptedException e1) {
}
file.delete();