It's working!
The view's "null" type made the trick. Thank you!
----- Original Message -----
Sent: Friday, January 24, 2003 6:01 PM
Subject: RE: [Mav-user] response.setContentType("image/png");

Are you asking if you can generate images from a maverick controller?

 

Definitely.  You can get access to the response by calling getCtx().getResponse().  Since you�re writing the data directly to the response you will want to use the �null� view type � it doesn�t make much sense to try to run your image through domify or xslt transforms :-)

 

Jeff

 

 

 

-----Original Message-----
From: Vladimir Yusseem [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 2: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