Hi !
I have the same problem as littleprince.
Streaming a PDF through a portlet with resourceServing works fine with the
JSPHelloUserPortlet Example. (I'm using the bundle JBoss AS 4.2.3 + Portal
2.7.0 CR 1)
But if it put the code in a Richfaces Example i get the same nonesense as
I beleive it's part of JSR-286 so it's going to be in 2.6.7.GA release. This is
part of portlet module. So please search it in
http://anonsvn.jboss.org/repos/portal/modules/portlet/trunk/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137920#4137920
Reply to
2.7.0 ;) (not 2.6.7)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137932#4137932
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137932
___
jboss-user mailing list
littleprince wrote : Can you give me more detail on Portlet 2.0 resource
serving? Some sample codes might be very helpful.
it is pretty much like a servlet.
your portlet needs to implements the ResourceServing interface with the method
| public void serverResource(ResourceRequest req,
AFAIK straming binary content from within a portal context is not possible.
You got do redirect to a Servlet.
See:
http://www.thoughtsabout.net/blog/archives/33.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134153#4134153
Reply to the post :
or use Portlet 2.0 resource serving !
holly77 wrote : AFAIK straming binary content from within a portal context is
not possible.
|
| You got do redirect to a Servlet.
|
| See:
| http://www.thoughtsabout.net/blog/archives/33.html
|
View the original post :
Can you give me more detail on Portlet 2.0 resource serving? Some sample
codes might be very helpful.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134433#4134433
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134433