This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Servlets and the fly likes 'Syntax error'? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark " Watch " New topic

'Syntax error'?

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a problem with a script on my page.
It accesses a pretty large string variable passed from another page, and does an eval() function on it.
However, on some browsers, this function causes an error to be thrown. The error message is simply the line number of the eval() function, and 'Syntax error'.
This behaviour is not consistent, as other machines show it only if you have multiple browsers open at the same time, hitting the page together. If it's a single browser, the function is executed peacefully, showing results as expected.
I've tried changing virtual memory settings, but still am not getting anywhere.
Has anyone faced this problem before? What can I do about it?
Have you checked out Aspose?
subject: 'Syntax error'?
It's not a secret anymore!