Hi,
I dont know if this is related .. but I seem to be
having a peculiar problem .. I have a jsp (say a.jsp)
which uses a bean (say x.class) with scope="page"
there is another jsp (say b.jsp) which uses the same
class (x.class) (also with page scope). If I run a.jsp
and then run b.jsp I get a class cast exception.
However if I run b.jsp first it works just fine. There
is no problem with the bean.
Could it be because of the scope?
I am using Tomcat app server and IIS 5.0 on Win2k.
Kapil
--- Jawahar Govindaraj <p2p_jsp@y...> wrote:
> Haii,
>
> I beleive it'z seting path to that particular
> server.
> check out server installation help file .
>
> Jawahar
>
> --- Wai Kwok Yuen <thomas.wai@c...> wrote:
> > Dear all,
> >
> > It may not be the JSP question, but I really
> > hope anyone can help me.
> > I found an error after I move all the JavaBeans
> from
> > old application
> > server to the brand new server. The error looks
> like
> > this:
> >
> > javax.servlet.ServletException : Cannot create
> bean
> > of class
> > cartbean.ShopCart
> >
> > Please give me a hints what's going on. I am sure
> > the JSP code is fine,
> > but the JavaBeans setting in the new app server
> may
> > go wrong.
> >
> > Thanks
> >
> > Thomas/MIS
> > Cathay Pacific Catering Services
>
>