Hi All, pulling out copious amounts of hair for this one... here's the code:
<%
for (int i = 0; i < sectionNames.length; i++ ) {
%>
<%= sectionNames[i] %>_off = new Image();
<%= sectionNames[i] %>_off.src = "<image:local file="<%=
sectionNames[i] %>_off.gif" />";
<%= sectionNames[i] %>_on = new Image();
<%= sectionNames[i] %>_on.src = "<image:local file="<%=
sectionNames[i] %>_on.gif" />";
<%= sectionNames[i] %>_hover = new Image();
<%= sectionNames[i] %>_hover.src = "<image:local file="<%=
sectionNames[i] %>_hover.gif" />";
<% } %>
It is in some client-side javascript, and I get a
jsp.error.attribute.unterminated error on a out-of-line-range character on
the first line inside the loop. Uncle google has nothing to say about this,
and I can't even figure out what the error means, let alone trying to
decipher the problem. If I remove the lines inside the loop it works as
expected.
This is driving me totally nuts, any help here _much_ appreciated.
Cheers,
-Josh
"He likes to run, And then the thing with the.. person..
... Oh boy, that monkey is going to pay."
[ Josh 'G' McDonald ] -- [ Pirion Systems, Brisbane]
[ 07 3257 0490 ] -- [ 0415 784 825 ] -- [ http://www.gfunk007.com/ ]
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)