do a:
response.setContentType("text/plain");
that should do it.
-----Original Message-----
From: Boon Yeo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: .txt as plain text
I don't know whether this is an Apache, Tomcat, or the
browser issue. Whenever Apache/Tomcat serve a file
with html tags embedded in it, one of them would
translate these html tags. This happens with the jsp
source examples that came with Tomcat.
How do I make these examples with the .txt extension
be served as plain text?
Tomcat 3.2.1 running on Linux 6.2.
Thanks.
-Boon