Re: Setting Response.ContentType

Lane Sharman <[email protected]> Tue, 22 Nov 2005 14:30:08 -0800
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
Tim,

Could you try the WebMacro 2.0 release and also verify that the context 
has not been somehow cleared?

Lane

Tim Pizey wrote:

>Hi, 
>
>We have used a little idiom since 1999 or earlier:
>
>#set $Response.ContentType ="text/html" 
>
>yesterday, when I redeployed I started getting 
>
>org.webmacro.PropertyException: No method to set "Response.ContentType" to 
>type class java.lang.String in supplied context (class 
>org.webmacro.servlet.WebContext)
>
>I claim to be using webmacro-classic-2.0b1, it is possible that another 
>version is being picked up somewhere.
>
>Any clues?
>
>Tim
>
>  
>

-- 
Lane Sharman
Providing Private and SPAM-Free Email
http://www.opendoors.com
858-755-2868



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click