return null;
}
publicationPath = PublishingEnvironment.getPublicationPath(contextPath, publicationId);
PublishingEnvironment environment = new PublishingEnvironment(publicationPath);
// set parameters using the request parameters
log.debug("\n<parameters>");
for (Enumeration e = request.getParameterNames(); e.hasMoreElements();) {
String name = (String) e.nextElement();
log.debug("\n Parameter: " + name + " = " + request.getParameter(name));
}
log.debug("\n</parameters>");
String articlePathParameter = request.getParameter(ARTICLE_FILE);
String newDossierId = request.getParameter(DOSSIER_ID);
String articlePath = publicationPath + environment.getAuthoringPath() + File.separator +
articlePathParameter;
String dossierBasePath = publicationPath + environment.getAuthoringPath() + File.separator +
"dossiers" + File.separator;
String newDossierPath = dossierBasePath + newDossierId + File.separator + "index.xml";
File articleFile = new File(articlePath);