Map your servlet to "*.pdf" then give the hyperlink the name you want when
you
build the web page.
This solution works, but now the file name that appears is:
http://server:port/context/file_name.pdf
The servlet is mapped to "*.pdf", but I need the address, port and context
to call the servle
1T3XT info 1t3xt.info> writes:
>
> rjalv wrote:
> > How can I resolve the problem? Can I set the file name with itext?
>
> If it were an iText problem, you could, but unfortunately it's not.
> You are at the mercy of the client-side browser/reader configuration.
> You can't solve this from the
rjalv wrote:
> How can I resolve the problem? Can I set the file name with itext?
If it were an iText problem, you could, but unfortunately it's not.
You are at the mercy of the client-side browser/reader configuration.
You can't solve this from the server side.
--
This answer is provided by 1T3X