> BX> * is StatesBean.STATES_BEAN_NAME.hashCode() the same one
> BX> before/after MyServlet reloading?
> before:
> hash code in state servlet=-24382515
> hash code in name servlet=-24382515
> hash code in city servlet=-24382515
>
> after:
> hash code in state servlet=-24382515
> hash code in name servlet=-24382515
> hash code in city servlet=-24382515
>
What did you expect??? hashCode() for string is overriden and will
always return the same number., even in different VM's...
>
> public class StatesBean {
>
> public static final String STATES_BEAN_NAME = "STATES_BEAN";
>
- Re: ClassCastException :( Vladimir Grishchenko
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Bo Xu
- Re: ClassCastException :( Vladimir Grishchenko
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Bo Xu
- Re: ClassCastException :( Vladimir Grishchenko
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Bo Xu
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Vladimir Grishchenko
- Re: ClassCastException :( Bo Xu
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Bo Xu
- Re[2]: ClassCastException :( Andrey Myatlyuk
- Re: ClassCastException :( Vladimir Grishchenko
- Re: Form based auth. again... Christian Rauh
- Re: Form based auth. again... Vladimir Grishchenko
- Re: Form based auth. again... Christian Rauh
