【文章內(nèi)容簡介】
rface among the model of rightness should contact。It accept a customer of importation, give176。 the importation feedback model, then realization pute model control, is make model and see diagram to moderate work of 1 see a diagram rightness should a , see separate of diagram and controller, make a model be able to have many manifestation to see the customer pass a certain see the controller of diagram change the data of model, all other dependence in these see of data diagram all should reflection arrive these therefore and regardless occurrence what data variety, controller all would variety notice allly see diagram, cause manifestation of is actually a kind of variety of modeldissemination mechanism. The Struts frame is to be the item of Apache Jakarta to constitute part to publish luck to do at the earliest stage, it inheritted MVC of each item characteristic, and did according to the characteristics of J2 EE correspond of variety with Struts frame was good to bine Jsp, Java Servlet, Java Bean, Taglib etc. the Struts, what to undertake the controller role in the MVC be an ActionServlet is an in general use control control module provided a processing all HTTP claim which send out Struts of entrance interception with distribute these claim to arrive correspond of action type.(these action all of type is Action son type)Moreover the control module is also responsible for using to correspond of claim the parameter fill Action Form(FromBean), and pass action type(ActionBean).Action type the business logic of the interview core, then interview Java Bean or adjust to use action type control the power pass followup of JSP document, from JSP document born see these control logic make use of the document e to diagram in the Struts frame main from JSP born page pletion, the Struts provide abundant of JSP label database, this is advantageous to separating performance logic and procedure model is with 1 or the form existence of several Java the Struts, main existence three kinds of Bean, respectively BE:Action, ActionForm, EJB perhaps Java Bean. The Struts frame have no concrete definition model layer of realization, in actually the development, model layer usually is close wi