Has anybody else seen this behavior?
I have a JSP that contains regular old HTML and regular old JavaScript (not between the <% %> delimiters) in addition to chunks of Java code (between the <% %> delimiters).
The page would not compile until I either printed the SCRIPT tag explicitly...
...or broke the SCRIPT tag apart...
I'm curious if anybody else has encountered this and could shed light on it. I'm using GNU JSP with Apache.
-Petey
I have a JSP that contains regular old HTML and regular old JavaScript (not between the <% %> delimiters) in addition to chunks of Java code (between the <% %> delimiters).
The page would not compile until I either printed the SCRIPT tag explicitly...
Code:
<% out.println("<script language=\"javascript\"></script>"); %>
Code:
<scri<% %>pt language="javascript">
-Petey