I am parameterizing an Action via the "parameter" attribute to the action element in struts-config.xml. The Java code in the Action class refers to the possible parameter values using String constants instead of using literal values. However, these same parameter values are simply hardcoded in struts-config.xml. So if I change the values of the constants, I have to change struts-config.xml, and vice-versa. Is there an easy way to have the values for these constants in one place?

Thanks,
Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to