I managed to obtain the path and to write my files using ((HttpServletRequest)rqs).getSession().getId() and hs.getServletContext().getRealPath("/reports/");
My web page gets generated inside "/reports/" but i cannot see the images.
I am using an ssl secured connection and it seems JBoss won't let me see the images belonging to the file.
Te page itself is included from the JSP....
Any help would be apreciated. Does JBoss has some security settings restrictig pages that internet users can read?