#29037

You need to pass the session id with request.

The simplest way would be to embed the session ID to the URL:

[language=java:3d15w8pg]URL url = new URL(“http://localhost:8080/xyzweb/faces/templates/includes/report/A104_fv_1.xhtml” +
“;jsessionid=” + request.getSession().getId());[/language:3d15w8pg]

A bit trickier approach is to pass session IDs via cookies.