• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browser Error while using Struts tags

 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

An error while using struts tags



I get the below error from Firebug in mozilla

missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';

how can i resolve this ?

i have tried escapeJavaScript=true. but it does not work

gives me an error that the tld defined does not support this

TLD defined is

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
 
Joe Ess
Bartender
Posts: 9318
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sankey jain wrote:
missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';


I would take that error to indicate that the problem occurs before the line you indicate. What comes before this line?
 
sankey jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Ess wrote:
sankey jain wrote:
missing ; before statement
[Break On This Error] var highlightKeyNew = 'Company Name: Scope Int'l (M) Sdn Bhd <br>';


I would take that error to indicate that the problem occurs before the line you indicate. What comes before this line?

The following comes before this line

 
Jesus Mireles
Ranch Hand
Posts: 122
IntelliJ IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So why dont you just use " to surround the value ... really wont matter right?



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic