• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Output Streams and Servlets

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay.. so here's the deal. I need to send a file from the servlet, to the browser. The file in a PDF file and so I know I need to set the MIME type to be "application/pdf". Could someone help me setup the basic structure for sending files via a stream from the servlet to the browser. Or maybe just give me a link to help me out. I appreciate your help.
-Dale
------------------
What's this H2SO4 doing in my fridge?? ( thud )
 
reply
    Bookmark Topic Watch Topic
  • New Topic