Check to see whether you have named the extension as .jsp. If so, brother you
gotta change that to a .html extension.
Cheers,
Amar..
"Borkey, Lin" <[EMAIL PROTECTED]> on 10/04/99 05:53:19 PM
Please respond to "Borkey, Lin" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Amarnath Nanduri/IT/VANCPOWER)
Subject: JavaScript in JSP
Hello,
I've got a problem in one of my JSP pages which contains a section of
client-side JavaScript code. The JavaScript is embedded in page via the
standard <SCRIPT LANGUAGE="JavaScript"> tag. For some reason the JSP
compiler is picking up the JavaScript as embedded Java and trying to compile
it instead of just passing it along to the browser. I'm not using a
RUNAT=SERVER directive nor are there any errant <% or %> in my code. Here's
what the top of the page looks like:
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript">
... Bunch of JavaScript...
</SCRIPT>
</HEAD>
<BODY>
... Bunch of HTML ...
</BODY>
</HTML>
There's no JSP-related code in the file right now but I plan on adding
some later and didn't want to have to change the filename. Any ideas?
Thanks,
Lin
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html