File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes pdf name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "pdf name" Watch "pdf name" New topic

pdf name

sreejith panampilly
Ranch Hand

Joined: Jun 15, 2006
Posts: 49
i am creating a pdf through, when open it and save then the default pdf name is the servlet name i am using acrobat readed 7.
when using the arobat reader 5 pdf name is correct.
how can i crrect this
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Search this and the JSP forum for "Content-Disposition".
The entry in the JSP Faq, under JspAndExcel has some example code that uses this header.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: pdf name
It's not a secret anymore!