[jboss-user] [JBoss Seam] - Download binary files

MSchmidke do-not-reply at jboss.com
Mon Dec 3 10:13:36 EST 2007

Currently, I am searching the forums how to serve downloadable binary data in a Seam application.

I found out so far that there are at least two possibilities:

1. By action as described in http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamResourceLoader

2. By Seam's built in resource mechanism based on AbstractResource class.

Which way should I prefer? I think (2) is much more elegant, but I need to access my Persistence Context which does not seem to be possible (at least I do not understand enough of the BypassInterceptors-beginRequest-endRequest-stuff I copied from CaptchaImage :-) )


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109879#4109879

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109879

More information about the jboss-user mailing list