Hello Tomcat users,
I'm in a trouble. I share some object(StatesBean) between servlets. And when I
recompile _servlet_, I got ClassCastException about shared object.
_statesBean=
(StatesBean)getServletContext().getAttribute(StatesBean.STATES_BEAN_NAME);
Classfile for this object is placed in the same directory, where
servlets do - web-inf/classes. Where I need to place classfile for
this object to prevent Tomcat exceptions?
Of course, if I reload Tomcat everything is OK.
Thank you in advance!
--
Best regards,
Andrey mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
- Form based auth. again... Vladimir Grishchenko
- Re: Form based auth. again... Craig R. McClanahan
- Re: Form based auth. again... Vladimir Grishchenko
- Re: Form based auth. again... Christian Rauh
- Re: Form based auth. again... Vladimir Grishchenko
- Re: Form based auth. again... Daniel Lopez
- Re: Form based auth. again.... Vladimir Grishchenko
- Re: ClassCastException ... Andrey Myatlyuk
- Re: ClassCastException ... Vladimir Grishchenko
- Re[2]: ClassCastExcepti... Andrey Myatlyuk
- Re: ClassCastException ... Bo Xu
- Re: ClassCastException ... Vladimir Grishchenko
- Re[2]: ClassCastExcepti... Andrey Myatlyuk
- Re: ClassCastException ... Bo Xu
- Re: ClassCastException ... Vladimir Grishchenko
- Re[2]: ClassCastExcepti... Andrey Myatlyuk
- Re: ClassCastException ... Bo Xu
- Re[2]: ClassCastExcepti... Andrey Myatlyuk
