-
'class' or 'interface' expected error meesage on jsp
Hi,
When loading a page I get the error message below. I know the errors refers to the servlet.jar and I've checked the contents of the jar files and the package is defintely correct and the classes are there. Can anyone explain what else can cause this error??
ERROR MESSAGE:
500 Internal Server Error
Error parsing JSP page /lcr/Page1.jsp
Syntax error in source/lcr/Page1.jsp.java:8: 'class' or 'interface' expected
import javax.servlet.*;
^
/lcr/Page1.jsp.java:9: 'class' or 'interface' expected
import javax.servlet.http.*;
^
/lcr/Page1.jsp.java:10: 'class' or 'interface' expected
import javax.servlet.jsp.*;
^
/lcr/Page1.jsp.java:11: 'class' or 'interface' expected
import javax.servlet.jsp.tagext.*;
^
4 errors
-
"}"
in jsp.java file
good luck
Compil and run!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks