This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to resolve this error

 
Radhakrishna Sharma Gorenta
Ranch Hand
Posts: 63
Google App Engine Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


the error is "; missing"
 
N Sahni
Ranch Hand
Posts: 55
Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check line 14.
Any Java statement in <% ... %> must end with semi-colon (;). Except JSP expression tag <%= .. %> you don't need to end any method calls in this tag with semi-colon.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Putting Java code into JSPs is a poor practice that has been discredited for almost 10 years now. It's time to stop writing JSP as if it were 2001.

The real fix is not be putting Java code into JSOs in the first place.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic