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