tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51314] New: JavaScript interpreted as Java when included in JSP
Date Thu, 02 Jun 2011 10:18:06 GMT

             Bug #: 51314
           Summary: JavaScript interpreted as Java when included in JSP
           Product: Tomcat 6
           Version: 6.0.32
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Jasper
    Classification: Unclassified

Created attachment 27103
The JavaScript I'm trying to inline.

I was trying to inline one of my site's main JavaScript. The JavaScript is

The JSP code I used looks like this:

$ cat test.jsp 
<%@ include file="r6.js" %>

The error message I'was getting is

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 102 in the jsp file: /r6.js
Syntax error on tokens, Label expected instead

Looks like Jasper is trying to compile the JavaScript because it has several
Java keywords in it?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message