Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu đang bị lỗi
File tài liệu này hiện đang bị hỏng, chúng tôi đang cố gắng khắc phục.
Writing Enterprise Applications with Java™ 2 SDK, Enterprise Edition phần 7 pps
Nội dung xem thử
Mô tả chi tiết
LESSON 4 JAVASERVER PAGES TECHNOLOGY
71 SEPTEMBER 27, 2000
Bonus Calculation
Social Security number retrieved: 777777777
Bonus Amount Retrieved: 200.0
If you supply the same social security number twice, you will see something similar to this:
Bonus Calculation
Soc Sec passed in: 777777777
Multiplier passed in: 2
Error: Duplicate primary key
More Information
Another way to use JavaServer pages technology is in combination with JavaBeans technology where the JSP page presents a form to the user and calls on the JavaBean to process
the data entered on the form. You can see an example at the following URL: http://
java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Client.fm.html#10649
This next URL takes you to an article with a great explanation of JavaServer pages and JavaBeans technologies: Building Your own JSP Components
http://developer.iplanet.com/viewsource/fields_jspcomp/fields_jspcomp.html