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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to