Change back to standard System.getProperty("java.io.tmpdir"); Standardized layouts for different type of pages.