This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 50

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

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
Similar Threads
Login servlet not redirecting to JSP
Always responding invalidLogin.jsp
My login application accepts any and all username/passwords.
arabic text from linux to windows oc4j servers
http error404