logger.info("Uploading data...");
RDFUpload rdfUpload = (RDFUpload)command;
InputStream in = rdfUpload.getInputStream();
HTTPRepository repo = (HTTPRepository)request.getSession().getAttribute(SessionKeys.REPOSITORY_KEY);
RepositoryConnection conn = null;
try {
conn = repo.getConnection();
conn.add(in, rdfUpload.getBaseUri(), rdfUpload.getFormat());
conn.commit();
logger.info("Upload committed.");
}
catch (RDFParseException e) {