Link to home
Start Free TrialLog in
Avatar of neerak
neerak

asked on

JSP with Apache on WinXP


I have written simple bean with jsp running on tomacat win winXP

the import statement in the code is as follows
<%@ page import="business.User, data.UserIO" %>

They have been compiled and placed in appropriate directories.
The following errors are reported.

Any help regarding this is appreciated...

The error reported is below

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 10 in the jsp file: /javaWjsp/show_mail.jsp

Generated servlet error:
    [javac] Compiling 1 source file

C:\Program Files\Apache Software Foundation\Tomcat 4.1\work\Standalone\localhost\_\javaWjsp\show_mail_jsp.java:7: package business does not exist
import business.User;
                ^
C:\Program Files\Apache Software Foundation\Tomcat 4.1\work\Standalone\localhost\_\javaWjsp\show_mail_jsp.java:8: package datas does not exist
import datas.UserIO;
             ^
C:\Program Files\Apache Software Foundation\Tomcat 4.1\work\Standalone\localhost\_\javaWjsp\show_mail_jsp.java:49: cannot resolve symbol
symbol  : class User
location: class org.apache.jsp.show_mail_jsp
User user=new User(firstName,lastName,emailAddress);
^

regard
neera
ASKER CERTIFIED SOLUTION
Avatar of boonleng
boonleng
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Siva Prasanna Kumar
Siva Prasanna Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial