my dog learned polymorphism
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
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: 63

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: 63866

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to resolve this error
It's not a secret anymore!