You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Shahed Ali <sh...@enoor.com> on 2000/12/04 21:57:13 UTC

Tomcat 3.2 on Solaris 8 with Sun JDK 1.1.2

I have faced this problem earlier with Tomcat 3.1.

It just does not seem to work with JDK 1.2.2.

When I access a jsp, the .java file under the work directory  get stuck at 


out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software Foundation
.  All rights \r\n  reserved.\r\n-->\r\n\r\n");

It works fine if I set JAVA_HOME to jdk1.2.1

Is this bug fixed in later versions ?

Thanks
Shahed

Re: Tomcat 3.2 on Solaris 8 with Sun JDK 1.1.2

Posted by Pilho Kim <ph...@math.soongsil.ac.kr>.
Hi,

You should use either out.print(String) or out.println(String)
instead of out.write(String).

Kim.


On Mon, 4 Dec 2000, Shahed Ali wrote:

> 
> I have faced this problem earlier with Tomcat 3.1.
> 
> It just does not seem to work with JDK 1.2.2.
> 
> When I access a jsp, the .java file under the work directory  get stuck at 
> 
> 
> out.write("<html>\r\n<!--\r\n  Copyright (c) 1999 The Apache Software Foundation
> .  All rights \r\n  reserved.\r\n-->\r\n\r\n");
> 
> It works fine if I set JAVA_HOME to jdk1.2.1
> 
> Is this bug fixed in later versions ?
> 
> Thanks
> Shahed
>