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.


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/examples/jsp/num/numguess.jsp
returns the page as expected for the number guess example

but http://localhost/examples/jsp/num/numguess.JSP and other combinations such as
http://localhost/examples/jsp/num/numguess.JSp and
http://localhost/examples/jsp/num/numguess.Jsp


give a file download window for the source of numguess.jsp.

Is there a workaround for this?

Best Regards
Jon




________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to