> -----Original Message----- > From: David Graham [mailto:[EMAIL PROTECTED]] > - > > > >I do not want to change the configuration for all time. > >I alway want to suggest at initialisation that object class B should > >be used instead A and do that programmatically. > > Well, you can specify your own config objects on some > struts-config.xml > elements at deployment. Couldn't you write a config object > that handled the > required behavior internally?
Yeah! You have a point I could subclass the ModuleConfigImpl and set the request processor. Seems pretty drastic for a such a simple task. > For 2.0 we should look at the config subsystem and maybe > define them as > interfaces and use a factory to get the implementation class. > Then, maybe > instead of specifying config subclasses in struts-config.xml we would > specify the config factory to use. IMHO, this would make the > configuration > much more flexible. > > David -- Peter Pilgrim, Struts/J2EE Consultant, RBoS FM, Risk IT Tel: +44 (0)207-375-4923 ******************************************************************** Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland plc is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority ******************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]