I ran into this one last week.  Netscape 6 appears to need a complete 
html document.

When I added html, head, and body tags to my .vm files, everything 
displayed properly.
<html>
<head><title>foo</title></head>
<body>
<!-- the rest of the .vm file goes here -->
</body>
</html>

-Eric

Oskar ?wida wrote:

> Hi,
> 
> I have a small problem: when I'm using VelocityOnlyLayout for my default
> layout
>  MSIE  - displays everything OK, but Netscape shows my html template
>  in plain text .
> 
> I've looked at VelocityOnlyLayout and found that there is
> no code setting Content-Type header for servlet response.
> When I've writen my own Layout identical to VelocityOnlyLayout
> adding
>    data.getResponse().setContextType(...)
> everything works.
> 
> Could it be a bug ?
> 
> As I can see -  within Turbine servlet  call to:
>  data.getResponse().setContextType()
> is performed only when some page is set and nothing was written to the 
> output.
> 
>                 Regards
>                     Oskar
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to