Re: Set the mime type of a returned page

Kane Dijkman <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Thanks,

I am using WebLeaf and Daniel, who is on this list, already got back  
to me with what I need to do.

Kane


On Mar 11, 2008, at 2:42 AM, Attila Szegedi wrote:

> What's your HTTP servlet framework? Spring? Struts? FreemarkerServlet?
> We can help you with FreemarkerServlet. For Spring and Struts, you
> should turn to their forums. I had to deal with setting the content
> type of responses for a Spring webapp earlier - try Google with the
> usual keywords (i.e. "content type spring freemarker") and see what
> you get.
>
> Attila.
>
> On 2008.03.11., at 1:33, Kane Dijkman wrote:
>
>> I am creating a css file dynamically. When I return this through FM
>> Firefox gives an error because the mime type is text/html instead of
>> text/css. Is there a way to set this with FM? Something like <#ftl
>> mime="text/css">
>>
>> Thanks,
>> Kane
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.