TAILIEUCHUNG - Mastering Jakarta Struts phần 3

Trước khi chúng tôi có thể bắt đầu với sự phát triển Struts của chúng tôi, chúng ta cần để có được những phiên bản mới nhất của kho lưu trữ Struts và tất cả các tài liệu lưu trữ hỗ trợ. Danh sách sau đây chứa tất cả các mục mà bạn cần để có được: • | Chapter 3 Getting Started with Struts In this chapter we begin our Jakarta Struts coverage. First we explain the steps that you must perform when installing and configuring a Struts application. Then we create a sample application that displays the components of a working Struts application. We conclude this chapter by walking through our sample application. The goal of this chapter is to provide you with a quick introduction to the components of a Struts application. Obtaining and Installing the Jakarta Struts Project Before we can get started with our Struts development we need to obtain the latest release of the Struts archive and all of its supporting archives. The following list contains all of the items you need to acquire The latest-release Jakarta Struts binary for your operating system. For these examples we are using Struts which can be found at http The latest Xerces Java parser. We are using Xerces which you can find at http Note For our example we will use Tomcat 4 which comes packaged with a Xerces parser. If you choose to use another JSP servlet container you may need to acquire and install the latest Xerces parser. Once you have the latest Struts release you need to complete the following steps to prepare for the remainder of the text. You will have to complete these steps for each Struts Web application that you intend to deploy. 1. Uncompress the Struts archive to your local disk. 2. Create a new Web application using the directory structure described in Chapter 1 Introducing the Jakarta Struts Project and Its Supporting Components. Make sure you substitute the name of your Web application for the value wileyapp. For our example the name of our Web application is wileystruts. 3. Copy the following JAR files extracted from the Jakarta Struts archive to the C47XL W_HƠM webapps wileystruts WEB-INF lib directory .

TỪ KHÓA LIÊN QUAN
Đã 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.