Thanks to all who responded. I didn't get any of the replies as the whole
digest was blocked with the virus infected message
but saw them on the archive.
As recommended, changing the JDK from 1.4.2 to 1.4.2_02 has resolved this
java or as some of you pointed out, windows bug. :)
> Hi,
>
llivan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:32 AM
To: '[EMAIL PROTECTED]'
Subject: Source of JSP returned to user
Hi,
I have accidentally discovered a way that Tomcat can serve
the source code
of a JSP file.
Running Tomcat 4.1.27 standalone, JDK 1.4.2, Win XP
Jon,
> Mostly the default configuration, but using port 80 rather than 8080.
Are you sure you are not running, say, Apache on port 80, and that you
have an Alias or DocumentRoot pointing into your webapp's root? I'm
guessing that you don't have two HttpConnectors defined in server.xml:
one fo
o: '[EMAIL PROTECTED]'
> Subject: Source of JSP returned to user
>
>
>
> Hi,
>
> I have accidentally discovered a way that Tomcat can serve
> the source code
> of a JSP file.
>
> Running Tomcat 4.1.27 standalone, JDK 1.4.2, Win XP Pro.
>
[EMAIL PROTECTED]
> Verzonden: dinsdag 28 oktober 2003 13:24
> Aan: Tomcat Users List
> Onderwerp: Re: Source of JSP returned to user
>
>
>
> I can't replicate this on my system:
>
> jakarta-tomcat-4.1.12-LE-jdk14
> java version "1.4.2"
> kernel
I can't replicate this on my system:
jakarta-tomcat-4.1.12-LE-jdk14
java version "1.4.2"
kernel-source-2.6.0-test2
So, my sugested workaround would be to install Linux!!
Brian
Jon O'Sullivan wrote:
Hi,
I have accidentally discovered a way that Tomcat can serve the source code
of a JSP file.
Hi,
I have accidentally discovered a way that Tomcat can serve the source code
of a JSP file.
Running Tomcat 4.1.27 standalone, JDK 1.4.2, Win XP Pro. and also Win 2K
Server
Mostly the default configuration, but using port 80 rather than 8080.
pointing my browser to http://localhost/