aspose file tools
The moose likes Struts and the fly likes Browser Error while using Struts tags Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Browser Error while using Struts tags" Watch "Browser Error while using Struts tags" New topic
Author

Browser Error while using Struts tags

sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
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

Joined: Oct 29, 2001
Posts: 8263

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?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
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

Joined: Mar 10, 2010
Posts: 122

So why dont you just use " to surround the value ... really wont matter right?



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browser Error while using Struts tags
 
Similar Threads
Is tld file necessary?
trying to get an object from a map in struts2
struts problem with OC4J 10
Assistance needed - JSTL/EL - tomcat 4.1.30
Error in Struts Tags