velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Gaspar" <paulo.gas...@krankikom.de>
Subject RE: A doubt about CSS and Velocity
Date Tue, 11 Sep 2001 10:43:12 GMT
Soriano, this is a question for the user list.

Anyway, it looks like you are not setting the response content 
type to "text/html" in your Servlet.


Have fun,
Paulo Gaspar


> -----Original Message-----
> From: Soriano, Jaume [mailto:JSoriano@es.wanadoo.com]
> Sent: Tuesday, September 11, 2001 11:02 AM
> To: velocity-dev@jakarta.apache.org
> Subject: A doubt about CSS and Velocity
> 
> 
> Nowadays we're using stylesheet (CSS) in our
> HTML files and we'd like to still using them
> in our Velocity Templates (something as follows)
> 
> <html>
> <head>
>     <LINK REL="stylesheet" TYPE="text/css" HREF="ourstyle.css">
> </head>
> <body>
> 	<B>$Wellcome</B>
> </body>
> </html>
> 
> ...I've tried this code but no style is applied, 
> what am i doing wrong?
> (the same code but with an '.html' extension works fine!)
> 
> Thanks in advance:
> 
> ========<jsoriano@es.wanadoo.com>=========
> 

Mime
View raw message