D
Dev
Hi all, I have a web page, and in a link, with a JavaScript I open a new
window, then I change the url of the new window.
the new URL is a servlet call.
The response of the servlet is a PDF.
The problem is that servlet was called twice!
In the form on the page where there are the javascript there are no action
attribute.
I have tried to open the new window with
var vNewWin = window.open("/servlet/PrintPDFServlet?param.....",
name,option);
but the browser try to download a page /servlet/PrintPDFServlet?param.....
but witout success.
Anyone have some idea?
Thanks in advance.
Dev
window, then I change the url of the new window.
the new URL is a servlet call.
The response of the servlet is a PDF.
The problem is that servlet was called twice!
In the form on the page where there are the javascript there are no action
attribute.
I have tried to open the new window with
var vNewWin = window.open("/servlet/PrintPDFServlet?param.....",
name,option);
but the browser try to download a page /servlet/PrintPDFServlet?param.....
but witout success.
Anyone have some idea?
Thanks in advance.
Dev