+ "://"
.concat(request.getServerName())
.concat(":")
.concat(String.valueOf(request.getServerPort()));
final TransientSessionStorage storage = new TransientSessionStorage();
storage.init(this.getServlet().getServletContext());
final String imgUrls = imgUrl;
final int posI = imgUrls.indexOf("?") + 5;
final int posF = imgUrls.indexOf("&", posI);
final String imgId = imgUrls.substring(posI, posF);
final ChartImage chartImages = storage.getChartImage(imgId,
request);
defaultCtrl.criaArquivoBoletim(getOrgao(request), boletim,
html, chartImages.getBytes(), domain, contextUrl);