url = FilebrowserController.getFolderUrl(url);
String path = request.getContextPath() + url;
if (item != null) {
final Desktop desktop = ((WebAppCtrl)sess.getWebApp())
.getDesktopCache(sess).getDesktopIfAny(dtid);
CKeditor ckez = (CKeditor)desktop.getComponentByUuidIfAny(uuid);
String nextURI = "~./ckez/html/fileupload-done.html.dsp";
final Map attrs = new HashMap();
attrs.put("CKEditorFuncNum", request.getParameter("CKEditorFuncNum"));
attrs.put("path", ckez.writeFileItem(path,
desktop.getWebApp().getRealPath(url), item, type));
Servlets.forward(_ctx, request, response,
nextURI, attrs, Servlets.PASS_THRU_ATTR);
}
} catch (Exception e) {
e.printStackTrace();