struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <quere...@etilize.com>
Subject Re: Include response in the JSP page
Date Wed, 09 Jul 2003 15:54:33 GMT
I can include the image response using simple <img
src="myAction.do?param=myparams"> which is the action that returns the image
response. But this causes a new request to be made on the server after the
html page is downloaded. This way I cannot access request variables etc.

Affan

"Affan Qureshi" <quereshi@etilize.com> wrote in message
news:beh99g$e6n$1@main.gmane.org...
> Hi,
> I have a JSP page which needs to dynamically include response from actions
> (or servlets) which are actually images streamed over the response. I
tried
> to use <jsp:include href="/someAction.do" /> but I guess it has some
problem
> for extensions other than jsp and html. (I saw a similar bug for Tomcat
> bugzilla). I have tried to define a mime-type for 'do' in web.xml but does
> not help. I guess I cannot use <bean:include > for the purpose.
>
> Any suggestions?
>
> Also another question, can I get request Attributes set in this page in
the
> action/servlet that I call thru <jsp:include />?
>
>
> Thanks,
> Affan




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message