portals-pluto-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Blum <bl...@apache.org>
Subject Re: No mode lists in header: temp fix
Date Fri, 07 May 2004 08:29:07 GMT
Hello, I will go after it next week to resolve it in cvs next week.

Michael

Arnold, David wrote:
> Thank you for the information.
> 
> -David A.
> -----Original Message-----
> From: Daniel Siino [mailto:DSiino@Intellitrans.com] 
> Sent: Tuesday, May 04, 2004 12:28 PM
> To: pluto-user@jakarta.apache.org
> Subject: No mode lists in header: temp fix
> 
> For a temporary fix I've put back the a slightly modified getContentType
> method 
> 
> //	HttpServletRequestWrapper overlay
>           
> 	 public java.lang.String getContentType()
> 	 {
> 		String contentType = getRequest().getContentType();
> 		if (contentType == null) {
> 		 contentType = "text/html";	// default...
> 		 if (getCharacterEncoding()!=null)
> 		 {
> 			 contentType += ";" + getCharacterEncoding();
> 		 }
> 		} 
> 		 
> 		 return contentType;
> 	 }
> 
> 
> 
> 
> 
> 


Mime
View raw message