return new DatasourceResourceOutputStream(writer,pos);
//core.getOutputStream(dc, name, attr, pis);
}
catch (PageException e) {
throw new PageRuntimeException(e);
}
finally {
removeFromCache(data, path, name);
//manager.releaseConnection(CONNECTION_ID,dc);
}