On 4/6/06, Carl Smith <[EMAIL PROTECTED]> wrote: > It is practical to share the same action form by different > actions, For example (I only listed two actions sharing the same form here, > but the questions apply for multiple actions sharing the same form): > > <form-bean name ="sharedForm" type="myclassPath.SharedForm"/> > > <action path="/displayViewAction" type="myclasspath.DisplayViewAction" > scope="session" name="sharedForm" validate="false"> > </action> > > <action path="/saveDataAction" type="myclasspath.SaveDataAction" > scope="request" name="sharedForm" validate="true" input="/View.jsp"> > </action>
http://wiki.apache.org/struts/DataEntryForm > Then the question is:is it a good practice to set up the sharedForm into > different > scope(session or request) for different actions, as what was shown in the > above example? No. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]