portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santiago Urrizola" <chily_lis...@yahoo.com.ar>
Subject Dinamic Image - Servlet
Date Thu, 12 May 2005 20:18:21 GMT
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


Mime
View raw message