velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "??sta? Ste?????" <cst...@aias.gr>
Subject Re: What happened to 'default.contentType' property?
Date Thu, 22 Mar 2001 15:55:29 GMT
OK, I agree. I am using turbine and you are correct that this is
a servlet property. BUT:
Turbine is setting this property correctly but still my Velocity
template are not correct...

----- Original Message -----
From: "Geir Magnusson Jr." <geirm@optonline.net>
To: <velocity-user@jakarta.apache.org>
Sent: Thursday, March 22, 2001 6:46 PM
Subject: Re: What happened to 'default.contentType' property?


> begone, HTML email :)
>
> > Êþóôáò Óôåñãßïõ wrote:
> >
> > Hi,
> > I am trying to migrate my velocity code from 0.71 to beta 1.0
> > I can't make velocity work with my encoding (8859_7). Velocity
> > 0.71 had no problem.
> >
> > In 0.71, I use to set the following properties:
> >
> > template.encoding=iso-8859-7
> > default.contentType=text/html; charset=iso-8859-7
> > and it worked fine.
> > Now I see that the default.contentType is not present, and when
> > I only set the template.encoding, my output is not correct (I get
> > question marks).
>
> The constant  was moved out of VelocityServlet, as it is a Servlet
> specific thing, but I see I blew that one too :)  It's not being used in
> the default impl of setConstantType().
>
> Will have that fixed in a jiffy.
>
> geir
>
>
> --
> Geir Magnusson Jr.                               geirm@optonline.net
> Developing for the web?  See http://jakarta.apache.org/velocity/


Mime
View raw message