ContentMaintActionForm form = (ContentMaintActionForm) actionForm;
initSiteProfiles(form, adminBean.getSite());
Content content = new Content();
content = ContentDAO.load(site.getSiteId(), Format.getLong(form.getContentId()));
JSONEscapeObject jsonResult = createJsonImages(site.getSiteId(), content, form);
String jsonString = jsonResult.toHtmlString();
streamWebService(response, jsonString);
return null;
}
public ActionForward uploadImage(ActionMapping mapping,