This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes How to resolve this error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to resolve this error" Watch "How to resolve this error" New topic

How to resolve this error

rk sharma
Ranch Hand

Joined: Jun 25, 2011
Posts: 61

the error is "; missing"


N Sahni
Ranch Hand

Joined: Jul 07, 2011
Posts: 55

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.

Thanks and Regards,
Nilesh Sahni | |
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63034

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to resolve this error
jQuery in Action, 3rd edition