hi=0D=0AThe problem is that the Customer class is not i the classpath.Put t
he Customer class in the classpath and try again=0D=0A=0D=0Acheers=0D=0Anik
o=0D=0A=0D=0AOn Wed, 14 Nov 2001 matthew oatham wrote :=0D=0A> Hi,=0D=0A>
=0D=0A> I am working from J2EE with BEA WebLogic Server book. =0D=0A> In th
e example we =0D=0A> have a servlet which creates an object and stores it i
n =0D=0A> the session then =0D=0A> redirects to a JSP. In the JSP we work o
n the object =0D=0A> stored in the session.=0D=0A> =0D=0A> The JSP includes
the following code:=0D=0A> =0D=0A> Customer customer =3D (Customer)=0D=0A>
session.getAttribute("customer");=0D=0A> =0D=0A> I presume this creates a
new customer object from the =0D=0A> object stored in the =0D=0A> session.
However I get the following error at run time:=0D=0A> =0D=0A> C:\wlsbook\sr
v\c03-srv\classfiles\jsw\c03\_jsp\__custome-=0D=0A> rform.java:79: =0D=0A>
cannot resolve symbol=0D=0A> probably occurred due to an error in =0D=0A> /
jsp/CustomerForm.jsp line 23:=0D=0A> Customer customer =3D (Customer)=0D=0A
> session.getAttribute("customer");=0D=0A> =0D=0A> The JSP and customer cla
ss are in different directories =0D=0A> and the JSP =0D=0A> doesn't import
the customer class, could this be a =0D=0A> cause of the problem?=0D=0A>
=0D=0A> Many thanks.=0D=0A> =0D=0A> Matt=0D=0A> matthewoatham@h...
=0D=0A> =0D=0A> ---=0D=0A> You are currently subscribed to j2ee as: =0D=0A>
niko77@r...=0D=0A> To unsubscribe send a blank email to =0D=0A>
$subst('Email.Unsub')=0D=0A> =0D=0A =0A