Quoting Ronald Tooley <[EMAIL PROTECTED]>: > Hi, is there a way to put a more appropriate message for the to see when > downloading a pdf file created via a servlet than what is showing now on the > attached file. > > In case you cannot view the attached jpg it goes like this > "You have chosen to download a file from this location." > "...V2P?nextScreen=&assMixInd2 from 192.168.0.9" > > The "...V2..." is what I don't want the user to is. I would like to show the > IP only.
I don't think there is much to do about this in the code. You can experiment with the header 'Content-Disposition' (I think this has been discussed in the MailingList, so just do a query on this topic on the searchable archives), but not all browsers handle this header the same way. So I think the best solution would be to solve it at the level of your Servlet Engine. If you are using a web.xml, you could use an URL-pattern to point at your ...V2P... Bruno ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
