Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple reference  RSS feed

 
Wayne Burr
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting this following error:
C:\Tomcat\work\localhost_8080%2Fka\_0002fjsp_0002fFactors_0002ejspFactors_jsp_227.java:267: Missing term.
When I do this:

I've tried a few things to get that loop varable (i) to be included in the option, but have had no luck.
Any help would be great!
Thanks in advance.
 
Greg Charles
Sheriff
Posts: 3015
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to me that you're trying to embed code inside of code.

Have you tried:

I'm not sure what string you are trying to produce, but the above code is at least legal. The error message was complaining about the < sign, which it was interpreting as a less-than operator.
 
Wayne Burr
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was the only solution that I did not try. This works great!
Thanks a bunch. It always looks easy once you have a solution!
Thanks agian.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!