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

WebSphere Studio Application Developer part 60 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 | a fcl gp I -s x banking. getCustomer custornerNumber itso bank model. Customer id 231 E firstName Ian id 104 E 3- lastName Brown title Mr Variables Breakpoints Exp ssion tegisters Storage Storage Mapping Monitors Modules Display Figure 16-14 Inspection of Java expression Select Remove from the context menu to remove expressions or variables from the Expressions views. In the Display view just select the text and delete it. Now step over the next statement Account accounts customerNumber Watch the array of accounts in the Variables view. You can expand accounts and see their attributes Figure 16-15 . Variables S a accounts itso. bank model. Account 2 id 248 ij A 0 id 250 S balance id 253 j id 104-4001 j E3 type SAVINGS 1 A 1 id 252 S balance id 258 j id 104-4002 1 type CHECKING Variables Breakpoints Expressions Registers Storage Storage Mapping Monitors Modules Display Figure 16-15 Watching an array in the Variables view Debugging a JSP Step through the servlet code or click the Resume icon to progress to the breakpoint in the JSP. Figure 16-16 shows the Debug view with the JSP opened. Note If you have two JSPs in different Web applications the wrong JSP source may be displayed. Open the correct JSP to see its source code. 564 WebSphere Studio Application Developer Version 5 Programming Guide Figure 16-16 Debugging a JSP Watch the JSP variables in the Variables view. The same functions as for servlets are available for JSP debugging. A JSP is compiled into a servlet. The difference is that the debugger shows the JSP source code and not the generated Java code. When you step through JSP code the debugger only stops at Java code HTML statements are skipped. Resume execution to see the next Web page then close the Debug perspective and stop the server. Chapter 16. Testing and debugging 565 Debugging on a remote WebSphere Application Server It is possible to .

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.