TAILIEUCHUNG - Java C13. Struts

Describe the necessity and the advantage of the framework Develop the Web application by using the framework. Struts: The Apache Software Foundation JSF (JavaServer Faces): The Java Community Process(JCP) Webcoordinator: FUJITSU to develop the Web app. by using Servlet and JSP. Starts according to the request from a client Offers the mechanism to process request, storage of data, screen transition control, etc. Defines screen transition information in XML file (strutsconfig. xml). | Chapter 13. Struts ITSS Java Programming Ngo Hong Son, HUT Outline Describe the necessity and the advantage of the framework Develop the Web application by using the framework Processing of screen control framework View Control Model Request Call Refer Transfer Response Typical screen control framework Struts: The Apache Software Foundation JSF (JavaServer Faces): The Java Community Process(JCP) Webcoordinator: FUJITSU Ltd. When framework is not used (1) public class ControllerServlet extends HttpServlet { protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException { try { ("JISAutoDetect"); } catch (UnsupportedEncodingException e) {();} try{ String page = ""; String flag = ("flag"); if (("1")) { page = "/jsp/"; } getServletContext().getRequestDispatcher(page).forward(req,res); } } When framework is not used (2) 1. Acquire the request parameter 2. Decide .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.