my dog learned polymorphism*
The moose likes JSP and the fly likes javascript escape error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "javascript escape error" Watch "javascript escape error" New topic
Author

javascript escape error

Reg Frenzy
Greenhorn

Joined: Mar 03, 2012
Posts: 2
I have a jstl file which consists of a javascript snippet.


But when I run it I get an error saying "invalid property id" and when I look at the content - something like this has been passed. "data_res1","data_res1",. I need to have double quotes in the results as that's how I am parsing it in the javascript function. Any ideas on how this could be done?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Are these server-side or client-side errors?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Reg Frenzy
Greenhorn

Joined: Mar 03, 2012
Posts: 2
Client side errors
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Then showing us the server-side code isn't going to be particularly helpful. You should post the generated response that the browser sees.
 
jQuery in Action, 2nd edition
 
subject: javascript escape error
 
Similar Threads
JSTL and hashmap
Problem with JSTL c:out tag
Can we unbind the errors in the spring-portlet mvc framework
Why is c:forEach working
Spring: ArrayList instead of <c:forEach in jsp page