You've run into the real problem, which is that your code can't change an existing ActionConfig -- these are shared, so you'd have all kinds of synchronization issues in a multi-threaded servlet environment.
You may be able to apply the wildcard mapping: http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards The wildcard matching creates an instantaneous copy of the matched ActionConfig and populates values by doing match replacements, which would probably handle your case.
Hope that helps,
JoeAt 11:33 AM -0400 5/4/05, Tom Viers wrote:
Hello,
I am using a LookupDispatchAction to consolidate CRUD actions for a particular element in my application. As far a I can tell, only one input can be specified for this lookup action.
Is there a way to dynamically specify the input forward based on which action method was dispatched?
I have tried calling setInput() on the mapping, but an IllegalStateException is thrown "Configuration is frozen".
Thanks in advance for the help, Tom
Tom Viers PICA Programming Team [EMAIL PROTECTED] ext 2148
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
