no not only sending part I am not getting external settings also..... ok i sented response type text/pdf but what about next... please give me complete. details... and sample code if possible also... thank you
What format is the "servlet output" in? If it's XHTML, you may be able to use the "flying saucer" library (somewhere on dev.java.net). If it's something else, tell us the details. Either way, much more work is going to be involved than setting the response type to PDF.
If you want to generate PDF content to be served up directly through a servlet with no intermediary file in the file system, this can usually be accomplished by writing the generated PDF content to the output stream of the servlet directly rather than writing to a file output stream. Elliotte Rusty Harold's Java I/O book is a great resource for understanding streams.