struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yu <j...@scioworks.com>
Subject Re: AW: AW: action-mapping: why must the action-Attribute path be equivalent to the name of the jsp?
Date Mon, 06 Aug 2001 03:23:49 GMT
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/Dispatch 
> Actio
> > >n.html
> > >
> > >--
> > >Martin Cooper
> > >

John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610 
Mime
View raw message