You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/02 12:18:06 UTC
DO NOT REPLY [Bug 51314] New: JavaScript interpreted as Java when
included in JSP
https://issues.apache.org/bugzilla/show_bug.cgi?id=51314
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
AssignedTo: dev@tomcat.apache.org
ReportedBy: johann@johannburkard.de
Classification: Unclassified
Created attachment 27103
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27103
The JavaScript I'm trying to inline.
I was trying to inline one of my site's main JavaScript. The JavaScript is
attached.
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 51314] JavaScript interpreted as Java when included in JSP
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51314
venu <tr...@cravaka.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trainee.venu@cravaka.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51314] JavaScript interpreted as Java when
included in JSP
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51314
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-06-02 10:25:27 UTC ---
Bugzilla is not a support forum. Please use the users mailing list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org