On Friday, August 30, 2002, 2:27:25 PM, Francis wrote:

FL> Does anybody have any ideas on which design they prefer....or are
FL> there other ways as well to design web apps with struts.

    I've been using the DispatchAction design now and really like it.
    I'm actually lazy and use the one DispatchAction for everything.

    The only thing that I find a little awkward and I posted a while
    ago about this but didn't get any responses. I'm wondering how
    people deal with issue of looking at the struts-config file and
    being able to tell what is really being called in the
    dispatchAction.

    If you don't use the DispatchAction it's pretty straightfoward as
    you you can tell looking at the action mapping which action class
    is called. With the DispatchAction it's not always as clear since
    you can't tell by looking at the action mapping what dispatch
    method will be called in the DispatchAction. It's also possible
    that multiple dispatch parameters can call that same action
    mapping. What I usually do is comment above the action mapping the
    different dispatch parameters that can be called for the action
    mapping.  I'm wondering if anyone else has any ideas how they
    handle this situation?


-- 

Rick
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to