That depends on what kind of client you're talking about. If your client is a browser, then you just leave it to the browser and the user to save the downloaded file wherever the user decides.
It's like an end user who did some shopping and made payment and he wants save a copy of transaction with himself. All this flow is in struts... but somehow the request to save the page is not going to server I believe
Okay. So do you have a question? Your last reply sort of sounded like you had an existing system where you had tried to implement downloading a file, but failed.
Some improvement! I click on save,the request goes to webserver and readies the pdf(has the pdf) .i need to get this to client system.i have an action clas pdfgen and i am redirecting to new jsp which is not happening.hope i am clear.