Naming the PDF file generated.

2004-09-17 Thread Manoj_Nair
I am creating files using XML/FOP and then rendering it as PDF. This is
done within a servlet XXXServlet.java. Whats happening is that the PDFs are
generated with names like XXXServlet[1].PDF , XXXServlet[2].PDF etc..

I want to give my own name to these PDF files...How do I do that?

Thanks




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Naming the PDF file generated.

2004-09-17 Thread Jebus
setup a servlet mapping of some like /pdf/* 
when you request. the pdf you can go /pdf/mypdf.pdf. in theory this
should work. i am making no guarantees as I haven't tried it.


On Thu, 16 Sep 2004 16:45:47 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I am creating files using XML/FOP and then rendering it as PDF. This is
 done within a servlet XXXServlet.java. Whats happening is that the PDFs are
 generated with names like XXXServlet[1].PDF , XXXServlet[2].PDF etc..
 
 I want to give my own name to these PDF files...How do I do that?
 
 Thanks
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]