I saw sth weird. I downloaded a google site verification file, wiz a plain text file but named as a html, "googleabc.html", it contains only one line of text like the following:
So, if you go to the server and download (ftp) the file, you will see only this line of text. But via http, if you go to a web browser, or do a telnet get or curl it, you will see the text is wrapped in a complete set of HTML tags like the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
which means JBoss adds HTML tags to the text file before it renders it back? Is that the case and how to turn it off?
Any idea? Thanks!