You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Santiago Urrizola <ch...@yahoo.com.ar> on 2005/05/12 22:18:21 UTC

Dinamic Image - Servlet

Hi ti all.
I have an struts portlet application, and in one jsp i paint an image
dinamicaly with a servlet like this

    <img
src=<%=request.getContextPath)%>/servlet/image?objectName=xxx&objectProperty
=iamge>

the servlets looks in the session the objet named {objectName} and get his
property {image}, this property is and
byte[] , the wirte it on the response, with the response writer.

The problem is that in J2, when i put this application in a portlet, when
the browser invokes the sevlet, downsent read the same session to J2.
/myapp/servlet/image?..... never could get the objet stored in the session
for the application. So i cant paint the image.
I read in a previous thread, some problem like this, could anyone know hoy
can i fix that ?? or other alternative to solve this ??

Thanks a lot.
Santiago





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org