[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    RE: Issue with registering/lookup of converters in ConvertUtils
From:       Thorsten_Schäfer <Uni () ThorstenSchaefer ! de>
Date:       2007-01-31 16:30:29
Message-ID: 001901c74555$20b3f5f0$0201a8c0 () workstation
[Download RAW message or body]

Hi,

> Is there a problem with the registering/lookup of multiple converters
in
> ConvertUtils on a single server instance?
I think this is not possible. The converters are stored in a static
hashmap, so all classes sharing a single classloader have to use the
same converters. I consider this a bad design decision, but I don't
think that there's a workaround but "copying" parts of the
implementation...

Cheers,

Thorsten


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic