|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > RunTime error: Undeterminated string constant |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|