|
Re: RE: contenttype text/plain: msg#00084java.enhydra.general
Thanks Mike, works really fine! Achim enhydra@xxxxxxxxxxx schrieb am 21.10.02 22:18:08: > Hello, > > I use Presentation Objects (.po) files. > > Here is how I do it with a .po, for pdf files, you can change it for > text/plain. > > public void run (HttpPresentationComms comms) throws java.lang.Exception { > comms.response.setContentType("application/pdf"); > comms.response.setContentLength(buf.length); > comms.response.setHeader("content-disposition", > "inline;filename=storageReport1.pdf"); > OutputStream out = comms.response.getOutputStream(); > out.write(buf, 0, buf.length); > out.flush(); > > > Hope this helps. > > Mike Warne > > > -----Original Message----- > From: Achim Weßling [mailto:achim.wessling@xxxxxx] > Sent: Monday, October 21, 2002 7:44 AM > To: enhydra@xxxxxxxxxxx > Subject: Enhydra: contenttype text/plain > > > Hallo, > > can somebody tell me, how I can send plain text in an enhydra-application? I > didn't find something about this in the docu. > > Thanks! > > Achim Weßling > Achim.WesslingQweb.de > > > _______________________________________________ > Enhydra mailing list > Enhydra@xxxxxxxxxxx > http://www.enhydra.org/mailman/listinfo.cgi/enhydra > > _______________________________________________ > Enhydra mailing list > Enhydra@xxxxxxxxxxx > http://www.enhydra.org/mailman/listinfo.cgi/enhydra
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: PLEASE how to set the CLASSPATH, Camila Piñeiro |
|---|---|
| Next by Date: | RE: PLEASE how to set the CLASSPATH, Mike Warne |
| Previous by Thread: | RE: contenttype text/plain, Mike Warne |
| Next by Thread: | PLEASE how to set the CLASSPATH, Camila Piñeiro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |