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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to download a file through JSP" Watch "how to download a file through JSP" New topic

how to download a file through JSP

SaiPrasad Jukalkar
Ranch Hand

Joined: Feb 20, 2001
Posts: 79
hi all,
in my programme i load a JSP page, when i submit the page, it generates a PDF file using XML and XSL, after generating the pdf file, i want to download the pdf file to the clients browser, i am unable to find a way to do this. can anyone help me.
thanx in advance.

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
This is a related discussion in the XML forum.
Refer this and you might want to participate in that
discussion, you don't want to miss a chance to win a
book on XML do you?
- satya

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: how to download a file through JSP
It's not a secret anymore!