[jboss-user] [JBoss Seam] - use Seam to respond with bytes (not XML) ?
do-not-reply at jboss.com
Thu Mar 22 15:14:46 EDT 2007
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030787#4030787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030787
More information about the jboss-user