You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Doug Davis <du...@us.ibm.com> on 2002/03/18 20:40:06 UTC

Possible fix for beta

I have a one-liner that I'd like to see fixed for the new beta.
For some reason I'm only running into this problem on
tomcat 4.0.3.
Anyway, in HTTPSender I like to change line 464:

464c464
<             } else if (contentType!=null && !contentType.equals
("text/html") &
&
---
>             } else if (!contentType.equals("text/html") &&

to check for a NULL contentType.  Pretty safe commit.
-Dug