Ok.  I guess I'm not familiar enough with struts yet to see how to apply
this type of logic dynamically to the action mapping.  I certainly *don't*
want to assign these mappings in the .XML file if that is what you are
suggesting.  I do see some sense in extending the ActionMapping class to do
this for me, though.

thanks for the quick response,
jeff

----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 2:48 PM
Subject: Re: Proposal


> In the environment you mentioned, each client could have it's own set of
> action mappings (that might all use the same servlets), with their own
> set of input properties and local forwardings. The way to tell an Action
> Servlet which JSP to use is with the local forwards. The way to get the
> same servlet to use a different set of forward is to map a different
> path.
>
> Right now you can map any URI to the ActionServlet of your choice, and
> have as many alternate mappings to a servlet as you need. There's a
> built-in input property for validation errors, and a built-in parameter
> property that you could use to pass arbitrary information to the servlet
> outside of the request. Each mapping can have any number of local
> forwards to response URIs, which can be chosen by the servlet using
> logical names. If that's not enough, extending the ActionMappings to
> suit your particular needs is both permitted and encouraged.
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 737-3463.
> -- http://www.husted.com/about/struts/
>

Reply via email to