Here we have some issues using navigateToURL(url,"_self") or
We know to view a PDF, so we use navigateToURL(url,"_self"),
here the url is the PDF file's content stream. It is always ok, the
PDF will open using Adobe Reader, but sometimes it opens within the
application and replaces the application, this is not happening all
the time. But does happen intermittently.
But we can't use navigateToURL(url,"_blank"), which will new
a browser, and PDF will open in Adobe Reader, so there will be an
empty brower there.
Full path maybe a solution, but it isn't fiter our
application, as using full url, the file must stored in serve side
under web app, but we just get file content generated by jasper or
some other tools, we don't want to store file.