This is one of the enhancements Ted Husted (Struts Committer) is proposing. 
Personally, I wouldn't know if this is possible in the current version of
Struts.  If anybody knows how to do this on the current version, do share the
how.

Hubert


--- Erik Weber <[EMAIL PROTECTED]> wrote:
> 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]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to