P
Price Ellington
Hi,
I am trying to import a class into my JSP and am getting the following
error at runtime:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
[javac] D:\jwsdp-1.2\work\Catalina\localhost\pe\org\apache\jsp\guestbook_jsp.java:7:
'.' expected
[javac] import MessageGetter;
My import statement in the JSP is simply:
<%@ page import="MessageGetter" %>
and I am placing the class in the WEB-INF/classes directory. This is
stumping me - if you've come across this or a similar problem, please
let me know. Thanks.
P
I am trying to import a class into my JSP and am getting the following
error at runtime:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
[javac] D:\jwsdp-1.2\work\Catalina\localhost\pe\org\apache\jsp\guestbook_jsp.java:7:
'.' expected
[javac] import MessageGetter;
My import statement in the JSP is simply:
<%@ page import="MessageGetter" %>
and I am placing the class in the WEB-INF/classes directory. This is
stumping me - if you've come across this or a similar problem, please
let me know. Thanks.
P