This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Java » JSP
Bookmark "How to resolve this error" Watch "How to resolve this error" New topic
Author

How to resolve this error

rk sharma
Ranch Hand

Joined: Jun 25, 2011
Posts: 50



the error is "; missing"


Regards,

RK
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 | nsahni@infocepts.com | www.infocepts.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

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]
 
wood burning stoves
 
subject: How to resolve this error