All,

I've got a JSP with an embedded Javascript Source File request.  When Tomcat
(4.0.4) serves up the file, it appends this to the end of the file:

/*HTTP/1.1 200 OK Content-Length: 0 Date: Thu, 12 Sep 2002 02:13:50 GMT
Server: Apache Tomcat/4.0 (HTTP/1.1 Connector)

It's causing my browser to throw some nasty javascript errors. And if I
rename the file with an extension other than .js, it seems to work fine.

Anybody?


Example below:

<html>
<head>
<title>Problem</title>
<script language="JavaScript" src="/include/functions.js"></script>
</head>
<body>
foo
</body>
</html>


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

Reply via email to