5 Replies Latest reply on Mar 23, 2007 4:13 AM by pmuir

    use Seam to respond with bytes (not XML) ?

    codelion

      Sure, I could do it with a Servlet. But then I'd have to figure out how to do everything else from a servlet that I already know how to do with .seam, .xhtml, .page.xml, security, exceptions, etc.

      I have a byte array in the property of a component. Obviously accessible from within an action.

      How do I make a response the return the bytes (with a MIME type of my choice)?

      I've done it from a servlet before. But how from an action? Correctly?