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 servlet. Is it possible that address and context don“t appear
before the file name?
-- 
View this message in context: 
http://www.nabble.com/problems-with-itext-and-Java-Servlets-tp16275100p16535313.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to