Does anyone know what is going on with the this
weird problem?
I have a class named CHyperklink
I putting a vector into a session object and then
adding CHyperlink objects to the vector.
When I retrieve the vector (with no problem) from
the session object, I can cast the objects back to
Message-
From: Ivan [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 2:14 PM
To: [EMAIL PROTECTED]
Subject: Objects in Vector are loosing type
Does anyone know what is going on with the this weird problem?
I have a class named CHyperklink
I putting a vector into a session object and then
What
do you get if you call getClass().getName() on the obj at the point
you are getting the items back
out of
the vector?
-Original Message-From: Ivan
[mailto:[EMAIL PROTECTED]]Sent: Friday, April 27, 2001 5:14
PMTo: [EMAIL PROTECTED]Subject: Objects in
Vector are
CHyperlink objects to the vector. Does this ring any bells?
THanks again for your replies.
Ivan
- Original Message -
From: "Filip Hanik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 3:27 PM
Subject: RE: Objects in Vector are loosing t
tested for in the if
statement!
any ideas?
- Original Message -
From:
Hawkins, Keith
(Keith)
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 3:46
PM
Subject: RE: Objects in Vector are
loosing type
What
do you get if you call getClass().getName() on the obj
> So are you saying it is by chance if a different class loader loads each
> servlet and this can effect the casting?
yes, the same class loaded by different class loaders, is not considered the
same class.
ie, you can't cast them
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Ar
8 PM
Subject: RE: Objects in Vector are loosing type
> > So are you saying it is by chance if a different class loader loads each
> > servlet and this can effect the casting?
>
> yes, the same class loaded by different class loaders, is not considered
the
> same class.
>
>
On Fri, 27 Apr 2001, Ivan wrote:
| thank you very much for your reply
|
| I turned off my computer and tried it again a few hours later and it seemed
| to work, then i made changes and then the second servlet wasnt able to cast
| back to CHyperlink again. after putting the code back the way I ha
We should put this in the FAQ. This issue pops up Often.
-Original Message-
From: Endre Stolsvik [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 4:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Objects in Vector are loosing type
On Fri, 27 Apr 2001, Ivan wrote:
| thank you
11:36 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Objects in Vector are loosing type
>
>
> We should put this in the FAQ. This issue pops up Often.
>
> -Original Message-
> From: Endre Stolsvik [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 4:59 AM
]]
Sent: Monday, April 30, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: RE: Objects in Vector are loosing type
Can or has or will someone work up a slightly more technical explanation
than
> It's because tomcat's reloading are totally fucked.
???
Regards,
Joel Parramore
> --
On Mon, 30 Apr 2001, Joel Parramore wrote:
|
| Can or has or will someone work up a slightly more technical explanation
| than
|
| > It's because tomcat's reloading are totally fucked.
Well, Joel, it's because tomcat3x doesn't do this:
a) stop the webapp
b) destroys all servlets
c) serializes a
ik [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 2:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Objects in Vector are loosing type
>
>
> On Mon, 30 Apr 2001, Joel Parramore wrote:
>
> |
> | Can or has or will someone work up a slightly more technical explanation
On Wed, 2 May 2001, Joel Parramore wrote:
|
| Well, Endre, comments such as "classloading is totally fucked", while having
| a nice kewl sound-bite quality, really don't explain what is going on too
| well to someone who hasn't encountered the problem before.
It's just that it kind of annoys me.
On Thu, 3 May 2001, Endre Stølsvik wrote:
> On Wed, 2 May 2001, Joel Parramore wrote:
>
> | Well, Endre, comments such as "classloading is totally fucked",
> | while having a nice kewl sound-bite quality, really don't explain
> | what is going on too well to someone who hasn't encountered the
> |
On Thu, 3 May 2001, Milt Epstein wrote:
| Maybe your app could use some reorganizing.
Yeah, maybe, Milt.
Why don't you ask the developers, then? I actually believe that all things
I said in those mails about reloading in TC3.x and TC4 are correct.
And the reason for me having to restart every
On 04/05/2001 07:38:57 ?iso-8859-1?Q?Endre_St=F8lsvik?= wrote:
> On Thu, 3 May 2001, Milt Epstein wrote:
>
> | Maybe your app could use some reorganizing.
>
> Yeah, maybe, Milt.
>
> Why don't you ask the developers, then? I actually believe that all things
> I said in those mails about reloading
On Fri, 4 May 2001, Endre Stølsvik wrote:
> On Thu, 3 May 2001, Milt Epstein wrote:
>
> | Maybe your app could use some reorganizing.
>
> Yeah, maybe, Milt.
>
> Why don't you ask the developers, then? I actually believe that all
> things I said in those mails about reloading in TC3.x and TC4 are
> I have to restart tomcat each and every time I make one single change to
> _anyting_ of my code. This is the most time consuming part of developing
> on Tomcat, I feel. (How's Jetty doing, btw??)
Of course, you are free to use any implementation, or you could even submit
an example of how to fi
19 matches
Mail list logo