jsp及其web技术外文资料翻译-jsp程序(编辑修改稿)内容摘要:
provided Java the Web application frame or carries on the integration with other popular Web frame. That is may a both use, achieve both own characteristic carries on supplementary. Structs is the kind w hich, servlet and the JSP mark a group cooperates mutually, they pose the MVC 2 designs w hich may entrust with heavy responsibility. This definition expressed that Struts is a frame, but is not a storehouse, but Struts has also contained the rich mark storehouse and the independence in this frame work utility program class. Client browser (customer browser), the request founds an event from customer browser39。 s each HTTP. The Web vessel will use a HTTP response to make the response. Controller (controller), the controller receive from browser39。 s request, and decided that sends out w here this request. Speaking of Struts, the controller is an order design pattern w hich realizes by servlet. struts document disposition controller. Service logic, the service logic renewal model39。 s condition, and helps the control application procedure the flow. Speaking of Struts, this is through takes the actual service logic “thin” the packing Action kind to plete. Model (model) condition, model expression application procedure condition. Service object renewal application procedure conditio n. ActionForm bean in conversation level or request level expression model condition, but is not in the lasting level. The JSP document uses JSP to mark the read from the ActionForm bean information. View (view), the view is a JSP document. And does not have the flow logic, does not have the service logic, also does not have the model information Only then marks. The mark causes Struts is different with other frames (for example Velocity) one of factors. Just like the Struts controller is (event usuall y is HTTP post) maps the event kind of servlet. you to expect the airoperated controller use configuration files to cause you not to need to carry on to these values the hard code. The time has changed, but method as before. The Action kind, ActionForm maintains the Web application procedure the conversation condition. ActionForm is one abstract class, must found this kind of subclass for each input form model. When I said w hen input form model, w hat refers to the ActionForm expression is establishes or in the renewal general sense data by the HTML Action kind is service logic packing. A Action kind of use is transforms HttpServletRequest into the service logic. Must use Action, please found its subclass and covers process () the method. ActionServlet (Command) will use perform () the method the parametrization kind to transmit for ActionForm. Still did not have too many repugnant () to transfer. When the event progresses to this step, the input form data (or HTML form data) has been withdraw n from the request class and shifts to the ActionForm kind. Considered that a Action kind of another way is the Adapter design pattern. The Action use will be “a kind of connection will transform another connection which will need for the client. Adapter enables the kind the joint operation, if does not have Adapter, then these kinds will be unable because of the inpatible connection the joint operation.”. In this example39。 s client is ActionServlet, it knows nothing about to our concrete service class connection. Therefore, Struts has provided a service connection w hich it can understand, namely Action. Through expands Action, we cause our service connection and the Struts service connection maintain patible. 5 CSS synopsis The CSS edition method is the same with HTML, may also be any text editor or the homepage edition software, but also has uses for to edit CSS specially the software. If you write the CSS sentence regards the exterior cascading style sheet, but transfers in the HTML document, then its extension saves .css to be possible. Initially the technical personnel found out HTML, mainly stresses on the definition content, for instance expressed that a paragraph, indicates the title, but excessively has not designed HTML the typesetting and the contact surface effect. Along with the Inter rapid development, HTML is widely applied, the surfer people hoped certainly that the homepage makes attractive, therefore the HTML typesetting and the contact surface effect39。 s limitation exposes day by day. In order to solve this problem, the people also took many tortuous paths, has used some not good method, for instance increases many attribute results to HTML bees the code very extremely fat, turns the picture the text, excessively ma ny es the typesetting using Table, expresses the w hite space with the blank picture and so on. Appears until CSS. CSS may be a homepage design breakthrough, it has solved the homepage contact surface typesetting difficult problem. May such say that HTM L Tag is mainly defines the homepage content (Content), but CSS decided how these homepage content does demonstrate (Layout). The CSS English is Cascading Style Sheets, Chinese may translate the tandem cascading style sheet. CSS may divide into three kinds according to its position: In inlays the style (Inline Style), internal cascading style sheet (Internal Style Sheet), exterior cas。jsp及其web技术外文资料翻译-jsp程序(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。