I'm using tomcat 5.0 and IE 6.0.3790.1830.
I created a file test.txt with content:
<script>alert('test_attachment')</script>
I put test.txt under directory "C:\Program Files\Apache Software
Foundation\Tomcat 5.0\webapps\ROOT", then access this file from IE using url:
http://localhost:8080/test.txt, I can see the dialog of 'test_attachment'.
so IE is executing the javascript, instead of using a default txt editor
such as notepad to open test.txt.
But if I use firefox, firefox will display test.txt content, instead of
running the javascript.
For IE, is this as designed? or is there any workaround to let IE display
test.txt content instead of running the javascript?
Thank you!