Re: Setting Response.ContentType

Tim Pizey <[email protected]> Thu, 24 Nov 2005 21:31:16 +0000
Newsgroups gmane.comp.java.webmacro.user
Organization PanEris
Message-ID <[email protected]>
On Tuesday 22 November 2005 22:30, Lane Sharman wrote:
> Tim,
>
> Could you try the WebMacro 2.0 release and also verify that the context
> has not been somehow cleared?
>
Sillier than that, there was a non-committed WebMacro.defaults sitting on the 
production machine, so it was working at home but not when deployed. 

I will try the new v2.0 soon, and try to get it on to ibiblio.

thanks
Tim

> 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

-- 
Registered linux user #21337, http://counter.li.org.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click