#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    14
    Rep Power
    0

    RunTime error: Undeterminated string constant


    Hi, I'm getting sometimes the error:
    Runtime error: Undeterminated string constant
    And I have absolutely no idea where this error comes from.

    It doesn't happen il all cases, and there is special way to reproduce the error...it just happens!

    Does it come from the jsp pages or from the servlet?
    What should I check? Any suggestions are welcome!

    Thanks!
    Tiago
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    14
    Rep Power
    0

    Solution


    I just found the solution.

    Instead of:
    Code:
    <%String strNewNextMonth = "check";%>
    ...
    <% out.println(check); %>
    You should use:
    Code:
    <%String strNewNextMonth = "check";%>
    ...
    <%=strNewMonth%>
    That should avoid Runtime errors.
    Tiago

IMN logo majestic logo threadwatch logo seochat tools logo