Agree.. thing is the example shown was just for a debug purpose. What I wanna do, is to extend only parts of the struts-config - not the hole chunk of xml. If I can control the controller in this way, I can make more dynamics into my app.
The flow-control of struts today isn't fitting my needs, so it would be neath to just setup a global-forward and an action-mapping corresponding to the global-forward, in real-time. In that way it's more easy to control the z-axis of my navigation system. I've just read through the source - ConfigRuleSet - and followed the ActionServlet a little bit. Still can't see why this causes an exception. Any idea. Should a do this in a method of the RequestProcessor? Ove -----Original Message----- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 4. oktober 2002 16:45 To: Struts Users Mailing List Subject: Re: [1.1 b2] How to manage the struts-config programatically? Hint: Struts uses the commons-digester to load the configuration (from files, currently) ... in a lot less lines of code than I can see you having in your plugin :-) I was going to add that you couldn't modify the configuration with your plugin because it would be frozen - but that appears to be invalid. Looking closer at the source shows plugins are initialized before the configuration is frozen. In other words, this should be a very doable approach. I would see if there were some way I could "feed the digester from a DB source". You may well find this to be a lot better solution than having to hand code the entire process yourself. Ove Ranheim wrote: >Because I want it parameterized through a database... right. > >Ove > >-----Original Message----- >From: Eddie Bush [mailto:[EMAIL PROTECTED]] >Sent: 4. oktober 2002 16:29 >To: Struts Users Mailing List >Subject: Re: [1.1 b2] How to manage the struts-config programatically? > >No offense here - serious question: Why not just use the config file >and let the action servlet load it? > -- Eddie Bush -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

