It is possible to create a new object in the way they have in Login.
What you are experiencing is what happens when you do not have all the
needed class files. User is an object that is defined in the User.class
file. Also, both User and Login are packaged in com.wrox.projsp.ch05. So
what you will need to do is this:
1. Compile User.
2. Place it in the following folders: 'root'\com\wrox\projsp\ch05
3. Place Login in the 'root' folder
4. compile Login.
This type of thing is the source of endless frustration for me. :)
-----Original Message-----
From: Jessica Ho [mailto:psychic@s...]
Sent: Friday, March 16, 2001 2:01 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Ch 5 problem
I have tried to compile the Login Bean on pg 132 using Textpad. But
there is an error showing "cannot resolve symbol class user". I think it
is not possible to create a new object this way. Do anyone know of ways
to solve this problem?