You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2003/01/28 20:44:03 UTC

RE: Setting the Content-Type

Use the $page pull tool.

> -----Original Message-----
> From: Denis Halupa [mailto:denis.halupa@ht.hr] 
> Sent: Tuesday, January 28, 2003 10:37 PM
> To: Turbine Users List
> Subject: Setting the Content-Type
> 
> 
> I am trying to display templates with windows-1250 encoding, 
> but since Content-Type is set in HTTP header as ISO-8859-1 my 
> meta tag is overriden. How can set the Content-Type part of 
> the HTTP header?
> 
> Thanks
> 
> Denis
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:turbine-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Problem creating tables in MS SQL

Posted by Keshava Murthy <ke...@bigtec.org>.
Hi,
I am having problem creating tables in MS SQL database using tdk 2.1.  The
build is failing when I do ant init. The velocity log shows the following
exception :

Wed Jan 29 18:34:35 GMT+05:30 2003  [error] Method chop threw exception for
reference $strings in template sql/base/mssql/table.vm at  [14,24]
Wed Jan 29 18:34:35 GMT+05:30 2003  [error] Method parse threw exception for
reference $generator in template sql/base/Control.vm at  [28,17]

My build.properties has following database settings

databaseDriver = com.microsoft.jdbc.sqlserver.SQLServerDriver
databaseUser = usrhis
databasePassword = usrhis
databaseHost = 192.168.1.17
databaseUrl =
jdbc:microsoft:sqlserver://192.168.1.17:1433;DatabaseName=HISDEV;SelectMetho
d=cursor

there some mails in the archive with similar lines but none of the solution
worked for me.

Pl. help.

regards,
Keshava Murthy. S





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Setting the Content-Type

Posted by Xavier Ottolini <xa...@qualipse.fr>.
Did you change the keys : "services.VelocityService.input.encoding" and 
"locale.default.charset"* *in the TR.properties?

I advice you also to read this message :
http://archives.apache.org/eyebrowse/ReadMsg?listName=turbine-user@jakarta.apache.org&msgNo=9840

Xavier

Denis Halupa wrote:

>But this only sets the meta tag of the page and leaves the http header
>intacted
>
>-----Original Message-----
>From: Quinton McCombs [mailto:qmccombs@nequalsone.com]
>Sent: Tuesday, January 28, 2003 11:44 AM
>To: Turbine Users List
>Subject: RE: Setting the Content-Type
>
>
>Use the $page pull tool.
>
>  
>
>>-----Original Message-----
>>From: Denis Halupa [mailto:denis.halupa@ht.hr]
>>Sent: Tuesday, January 28, 2003 10:37 PM
>>To: Turbine Users List
>>Subject: Setting the Content-Type
>>
>>
>>I am trying to display templates with windows-1250 encoding,
>>but since Content-Type is set in HTTP header as ISO-8859-1 my
>>meta tag is overriden. How can set the Content-Type part of
>>the HTTP header?
>>
>>Thanks
>>
>>Denis
>>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:turbine-user-> unsubscribe@jakarta.apache.org>
>>For
>>additional commands,
>>e-mail: <ma...@jakarta.apache.org>
>>
>>
>>    
>>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: Setting the Content-Type

Posted by Denis Halupa <de...@ht.hr>.
But this only sets the meta tag of the page and leaves the http header
intacted

-----Original Message-----
From: Quinton McCombs [mailto:qmccombs@nequalsone.com]
Sent: Tuesday, January 28, 2003 11:44 AM
To: Turbine Users List
Subject: RE: Setting the Content-Type


Use the $page pull tool.

> -----Original Message-----
> From: Denis Halupa [mailto:denis.halupa@ht.hr]
> Sent: Tuesday, January 28, 2003 10:37 PM
> To: Turbine Users List
> Subject: Setting the Content-Type
>
>
> I am trying to display templates with windows-1250 encoding,
> but since Content-Type is set in HTTP header as ISO-8859-1 my
> meta tag is overriden. How can set the Content-Type part of
> the HTTP header?
>
> Thanks
>
> Denis
>
>
> --
> To unsubscribe, e-mail:
> <mailto:turbine-user-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>