Thanks for the explanation, Craig.
--
John

At 02:13 PM 8/5/2001 -0700, you wrote:
>
> Oh, I see. That's what the "parameter" attribute is for! Thanks.

Well, that is what the "parameter" value is used for in this case, at
least :-).  In practice, the "parameter" attribute is a way to pass a
single string configuration value into an Action, and means whatever your
action interprets it to mean.  This covers the common case of needing to
be able to pass some special parameter from struts-config.xml to an
action, without having to mess around with subclassing ActionMapping.


>
> At 10:26 AM 8/1/2001 -0700, you wrote:
> >This mechanism is already available in Struts. Take a look at the
> >DispatchAction class:
> >
> >http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
> >n.html
> >
> >--
> >Martin Cooper
> >

John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com  m: +(65) 9782 9610

Reply via email to