Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

taking a url and passing it back an outputstream in a jsp

Today someone wanted to pass in the name of a file located somewhere inside a web application and then stream that file back to them. In this example they wanted to open a pdf file. We only wanted a quick dirty piece of code put in a jsp, which was okay with me being the cowboy coder I am. The first tricky point was they were giving me a URL and wanted back a file. I have tangled with this



This post first appeared on A Funny Java Flavoured Look At The World, please read the originial post: here

Share the post

taking a url and passing it back an outputstream in a jsp

×

Subscribe to A Funny Java Flavoured Look At The World

Get updates delivered right to your inbox!

Thank you for your subscription

×