dcsimg
jsp tags inside javascript acting funny
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   spunky_one
Posted On:   Tuesday, February 23, 2010 11:39 PM

var quantity = new Array() i = 0    quantity[i]=new Array(6);          quantity[i][j]=        i++ ]]>]]> Hi everyone.. I have a jsp page, and within the page, some javascript withing the tags. Withing the js, I want to put in some jsp tags. But I'm getting an error: An error occurred at line: 1 in the jsp file: /editQuantity.jsp Syntax error on token " <", invalid AssignmentOperator 1: <%@ page contentType="text/html; charset=UTF-8" import="java.sql.*, java.io.*" %> 2: 3: My code is..    More>>

Hi everyone..

I have a jsp page, and within the page, some javascript withing the tags.

Withing the js, I want to put in some jsp tags. But I'm getting an error:

An error occurred at line: 1 in the jsp file: /editQuantity.jsp

Syntax error on token " <", invalid AssignmentOperator

1: <%@ page contentType="text/html; charset=UTF-8" import="java.sql.*, java.io.*" %>

2:

3:



My code is..

			




What could possibly be the matter? I know it is THIS block of code which is causing the error, if i remove it, things work fine.

Thanks in Advance!

   <<Less
About | Sitemap | Contact