Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Syntax error, insert ";" to complete LocalVariableDeclarationStatement

843838Aug 9 2006 — edited Aug 9 2006
I'm fairly new at JSP, and am trying to convert an ASP site to JSP.

On most of my pages I get an error:

An error occurred at line: 1 in the jsp file: /sheep.jsp
Generated servlet error:
Syntax error, insert ";" to complete LocalVariableDeclarationStatement

An error occurred at line: 1 in the jsp file: /sheep.jsp
Generated servlet error:
Syntax error, insert ")" to complete MethodInvocation

But the only thing on line 1 is <%
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2006
Added on Aug 9 2006
1 comment
1,821 views