You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Michael Blum <bl...@apache.org> on 2004/05/07 10:29:07 UTC
Re: No mode lists in header: temp fix
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;
> }
>
>
>
>
>
>