myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cote.M...@hydro.qc.ca
Subject RE: Why does HtmlResponseWriterImpl keep complaining ?
Date Thu, 18 Nov 2004 23:38:21 GMT
Sorry Heath, not exactly sure what you mean, could you maybe give an example
?

Thanks 


Mark Côté
Concepteur/Architecte technologique
TI - Projet SIC
TI - Libre Service Web
1250 René Lévesque Ouest, 11e étage
Montréal (Québec)
514.879.4100 x6752

-----Message d'origine-----
De : Heath Borders-Wing [mailto:heath.borders@gmail.com] 
Envoyé : jeudi 18 novembre 2004 18:36
À : MyFaces Discussion
Objet : Re: Why does HtmlResponseWriterImpl keep complaining ?

Yeah, we used to have both of those problems.  We supply a content type and
character encoding with our JSPs in a scriptlet.


On Thu, 18 Nov 2004 18:32:57 -0500, cote.mark@hydro.qc.ca
<cote.mark@hydro.qc.ca> wrote:
> 
> Kalle,
>     
>     I tried what you did, and it seems to suppress the caracter 
> encoding complaint, but there still remains the content type.
> And you cannot set the content type anywhere in ServletRequest or 
> HttpServletRequest.
>  
> Does anyone else have this problem ?
>  
>  
> Mark
>  
> 
> 
> ________________________________
> De : Korhonen, Kalle [mailto:kkorhone@cisco.com] Envoyé : mercredi 17 
> novembre 2004 10:37 À : MyFaces Discussion Objet : RE: Why does 
> HtmlResponseWriterImpl keep complaining ?
> 
> 
> 
> 
> 
> I would think that it is because JSF lifecycle has already started and 
> it check the headers before page parsing has started. If you set them 
> yourself in the filter, you can suppress the errors. We did it for 
> character encoding and didn't worry about setting the content type at all
just yet.
>  
> Kalle
> 
> 
> ________________________________
> From: Cote.Mark@hydro.qc.ca [mailto:Cote.Mark@hydro.qc.ca]
> Sent: Wednesday, November 17, 2004 5:20 AM
> To: myfaces-user@incubator.apache.org
> Subject: Why does HtmlResponseWriterImpl keep complaining ?
> 
> 
> 
> 
> 
> Anyone know why I constantly get the following information logged to 
> my console when executing a JSF app ?
> 
> [04-11-17 08:12:45:859 EST] 5c005c HtmlRenderKit I 
> net.sourceforge.myfaces.renderkit.html.HtmlRenderKitImpl No content 
> type list given, creating HtmlResponseWriterImpl with default content
type.
> 
> [04-11-17 08:12:45:869 EST] 5c005c HtmlResponseW I 
> net.sourceforge.myfaces.renderkit.html.HtmlResponseWriterImpl No 
> content type given, using default content type text/html
> 
> [04-11-17 08:12:45:869 EST] 5c005c HtmlResponseW I 
> net.sourceforge.myfaces.renderkit.html.HtmlResponseWriterImpl No 
> character encoding given, using default character encoding ISO-8859-1
> 
>  
> 
> This is in the header of each of my JSP pages:
> 
> <head><meta http-equiv="content-type" content="text/html; 
> charset=iso-8859-1"></head>
> 
>  
> 
> Thanks in advance,
> 
> Mark


--
If you don't have a GMail account, I probably have 5 invites.  Just ask!
-Heath Borders-Wing
hborders@mail.win.org

Mime
View raw message