Tim Moores wrote:All URLs start with the protocol, "file:" in this case. See File URI scheme for more information.
Thanks Tim,
but on doing the below also it is not working,
String selectedurl = "D:\Jbehave\Jbehave-09012016\reports.html";
selectedurl ="file:///"+selectedurl;
pw.println("<a href='selectedurl'>"+selectedurl+"</a>");
it is showing as an hyperlink but when i click it is redirecting to "http://localhost:8080/jbehaveauto/selectedurl" but not to the file system "file:///D:\Jbehave\Jbehave-09012016\reports.html"
Regards,
D.Srikanth