Results 1 to 5 of 5

Thread: Expected ';' line: 342 char: 82

  1. #1
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Expected ';' line: 342 char: 82

    Hi all,

    I'm working with J2EE Web API and javascripts. I'm having an error Expected ';' line: 342 char: 82 at one of my pages named map.jsp.

    the problem is that the said page only has 185 lines. what could be the error?

    i've attached a txt file containing the codes from the map.jsp page..
    thanks in advance...

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Due to the way the page parses, this can happen because it gets trapped in an endless loop, the parser can't find the end of the file (because it's still in an inner level of code, like an if statement), etc.

    This may be because it is referring to another page included in your file (if you are using several to process the entire script).

    If not, then the only way to figure this out is to comment out large chunks of your file sequentially to find where the problem is.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if you've observed, i have dropdown lists as constraints. one has year values (Strings). basing on my database, there are only four years [2001,2002,2003,2004]. when i get to choose the rest except 2001 it works properly. when i get to choose 2001, that error occurs. when i tried tracing, if i choose 2001, the script (carcar[cnt]=<%=address%>) does not work, otherwise everything works fine..

  4. #4
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    as with my data... the number of results returned in 2001 is 779, that is way bigger than the results from the rest of the years [54,60,84]. does this matter? is there any problem between the time on accessing the database getting a lot of results?/

  5. #5
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    solved.........

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •