Re: Question concerning struts-config and app constants

2004-07-14 Thread Joe Germuska
At 7:14 PM -0400 7/14/04, Erik Weber wrote: Thanks Joe, that is indeed what I am doing. I am handling a few actions in a single Action class, but parameterizing on my own rather than using the MappingDispatchAction. The reason is that the O'Reilly Struts book led me to believe that if you want t

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 4:32 PM > To: Struts Users Mailing List > Subject: Re: Question concerning struts-config and app constants > > > D'oh! This from > http://struts.apache.o

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
! Thanks again, Erik Jim Barrows wrote: -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 4:15 PM To: Struts Users Mailing List Subject: Re: Question concerning struts-config and app constants Thanks Joe, that is indeed what I am doing. I am handlin

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
List Subject: Re: Question concerning struts-config and app constants Thanks Joe, that is indeed what I am doing. I am handling a few actions in a single Action class, but parameterizing on my own rather than using the MappingDispatchAction. The reason is that the O'Reilly Struts book led me

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 4:15 PM > To: Struts Users Mailing List > Subject: Re: Question concerning struts-config and app constants > > > Thanks Joe, that is indeed what I am doing. I am h

Re: Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
Thanks Joe, that is indeed what I am doing. I am handling a few actions in a single Action class, but parameterizing on my own rather than using the MappingDispatchAction. The reason is that the O'Reilly Struts book led me to believe that if you want to use the DispatchAction class, or the Look

Re: Question concerning struts-config and app constants

2004-07-14 Thread Joe Germuska
> 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

Re: Question concerning struts-config and app constants

2004-07-14 Thread Hubert Rabago
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 parame

Question concerning struts-config and app constants

2004-07-14 Thread Erik Weber
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