TAILIEUCHUNG - WebSphere Studio Application Developer Version 5 Programming Guide part 34

WebSphere Studio Application Developer part 34 provides integrated development tools for all e-business development roles, including Web developers, Java developers, business analysts, architects, and enterprise programmers. The customizable, targeted, role-based approach of WebSphere Studio Application Developer will be characteristic of all new products built on the WebSphere Studio Workbench. It is well integrated with WebSphere Application Server and provides built-in server test environments that can be used for testing and profiling Web applications | On the Struts Settings page select Override default settings - Change the Struts version to beta2 . - Enter as the Default Java package prefix. - Leave as the Java package for the resource bundle. - Leave ApplicationResources as the resource bundle name. - Click Finish Figure 10-8 . Click OK when prompted to repair the server configuration. This action adds the new Web project to the server configuration. we used the Struts beta support Figure 10-8 Setting Struts properties The new Web project is configured with An application resources file Java Source An action servlet in A configuration file and six tag libraries in Web Content WEB-INF The Struts runtime classes and dependent JAR files in Web Content WEB-INF lib. 304 WebSphere Studio Application Developer Version 5 Programming Guide Notes If you create a Web project with Struts support there will be only one JAR file in the lib directory because Struts includes all dependent classes in this single JAR. In Struts these classes are now split into multiple JAR files. Although not necessary for our simple application you would probably want to upgrade the Struts JAR file to a later version than the beta 2 shipping with Application Developer . At the time of writing the latest version of Struts is Release Candidate 1. The Struts action servlet is configured in to intercept all requests with a URL ending in .do the servlet mapping is .do . This is common for Struts applications but equally common is using a servlet mapping of action to intercept all URLs beginning with action. Copying the facade We will use the same model and facade as in Chapter 7 Developing Web applications on page 179. The easiest way to get the facade is by copying Select the package in the ItsoProGuideBasicWeb project and Copy from .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
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.