This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 61457
    
  67

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