| how should I go about serving, for example, a jpeg dynamically
| from webware?

This is covered lightly in the wiki:
http://webware.colorstudy.net/twiki/bin/view/Webware/FileStreamingAndContent
Disposition

But I'd go a step further and overwrite the whole respodToGet method, and
inherit from HTTPServlet rather than Page. If you need methods from your
SitePage, obviously, don't do that.

I've done this with flash files, CSV files, vCards, and even jpeg.

The key bit is changing the content type mimetype, so the browser interprets
the data stream correctly.

Good luck.


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to