-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hello all,
I am resending this e-mail in desperation..
Please bear with me as I might have sent it in
wrong time last night.
I am writing a servlet that generates pure
(not HTML embedded) JavaScript
as its output (basically whatever would be there
in .js file). And I am setting content type
to application/x-javascript.
But, either JServ or Apache is inserting following
DTD type at the top of the output:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Because of this, browser complains syntax error.
There should not be any html in pure javascript file.
Am I missing something to make Apache/JServ
understand that I am writing javascript ?
Or can I tell server to not insert that line ? how ?
My setup is as follows :
JServ : 1.0
Apache : 1.3.6
OS : Win NT 4.0
JSDK : 2.0
JDK : 1.2.2
Any help would be appreciated.
thanks in advance
Ramesh
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]