struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <>
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=""> 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 Qureshi" <> wrote in message
> 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
> to use <jsp:include href="/" /> but I guess it has some
> 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
> action/servlet that I call thru <jsp:include />?
> Thanks,
> Affan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message