Title: Message
You could use a null view and just have your controller write the image to the response output stream.
 
<command name="foo">
    <controller class="foo.mycontroller">
        <view type="null"/>
    </controller>
</command>
 
--jim
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Vladimir Yusseem
Sent: Friday, January 24, 2003 5:42 PM
To: [EMAIL PROTECTED]
Subject: [Mav-user] response.setContentType("image/png");

Hello  maverick users!
 
My question:
I have a servlet that generates image content:
    response.setContentType("image/png");
 
The logic of the servlet is growing and I want ThrowawayBean2 to make this job. Is it possible?
I use "domify" as a view factory.
 
Thank you.
 
Vladimir Yusseem.

Reply via email to