XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P15
lượt xem 27
download
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P15- Là một nhà phát triển Web, bạn biết những thách thức trong việc xây dựng các ứng dụng mạnh mẽ trên nhiều nền tảng. Tạo các ứng dụng di động trở nên thật sự có thể bằng cách sử dụng Java cho code và XML để tổ chức và quản lý dữ liệu. "XML, XSLT, Java, và JSP: Một trường hợp học" sẽ giúp bạn tối đa hóa khả năng của XML, XSLT, Java, và JSP trong các ứng dụng web của bạn....
Bình luận(0) Đăng nhập để gửi bình luận!
Nội dung Text: XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P15
- 682 Appendix C Source Code for bonForum Web Application enable debugging information: XSLT processor version: Xalan-Java 1
- C.65 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\system_executes_command.jsp 683 value=”Xalan-Java 2”>Xalan-Java 2 Xalan-Java 1 Xalan-Java 2
- 684 Appendix C Source Code for bonForum Web Application pageContext.getAttribute(“bonForumStore”, 4); %> hitTimeMillis: initDate: reset hitTimeMillis! hitTimeMillis: initDate: hitTimeMillis: initDate: —%> C.66 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\system_sets_timeout.jsp bonForum
- C.66 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\system_sets_timeout.jsp 685 This JSP can be used to test and experiment with session lifetimes. A setting of -1 means sessions do not timeout on the server. If you set another value, the sessions will timeout if browser inactivity exceeds that number of minutes. When a session times out, the user will be sent back to first page of webapp, and their nickname will remain unavailable until bonForum restart. Later, a user manager feature will be added to authenticate users and restore their nicknames and other data. Note that applet activity alone does not prevent session timeout. Current Maximum Chat Inactivity in Minutes:
- 686 Appendix C Source Code for bonForum Web Application C.67 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_executes_choice.jsp bonForum
- C.67 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_executes_choice.jsp 687 join a chat start a chat exit this forum
- 688 Appendix C Source Code for bonForum Web Application C.68 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_joins_chat.jsp bonForum /bonForum/noframe/html.index
- C.69 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_joins_chat_controls.jsp 689 C.69 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_joins_chat_ controls.jsp bonForum
- 690 Appendix C Source Code for bonForum Web Application value=”yes”> C.70 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_joins_chat_frame. jsp 0) { String subject = “”; String topic = “”; subject = chatItem.substring(0, chatItem.indexOf(‘[‘) - 1); subject = subject.replace(‘_’, ‘ ‘); topic = chatItem.substring(chatItem.indexOf(‘[‘) + 1, chatItem.lastIndexOf(‘]’)); chatItemMessage = “chat: “ + subject + “ —> “ + topic; } %>
- C.70 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_joins_chat_frame.jsp 691 Since chat selection based on flag is not yet implemented, and XSLT needs one parameter, we pass an empty string for now. —%> bonForum NO> —%>
- 692 Appendix C Source Code for bonForum Web Application C.71 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_joins_chat_ ready.jsp bonForum
- C.72 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_joins_chat_robot.jsp 693 so the applet on the client can find it! —%> C.72 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_joins_chat_ robot.jsp bonForum
- 694 Appendix C Source Code for bonForum Web Application Plugin tag OBJECT or EMBED not supported by browser. C.73 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_starts_chat.jsp
- C.74 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_starts_chat_controls.jsp 695 request.getServerName() + “:” + request.getServerPort() + “/bonForum/jsp/forum/visitor_starts_chat_frame.jsp”); session.setAttribute(“refresh”, “true”); session.setAttribute(“increment”, “5000”); session.setAttribute(“limit”, “5000”); session.setAttribute(“message”, “refreshing...”); %> —%> bonForum /bonForum/noframe/html.index C.74 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_starts_chat_ controls.jsp
- 696 Appendix C Source Code for bonForum Web Application displayed by input form element —%> bonForum
- C.75 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_starts_chat_frame.jsp 697 Then enter a description for your new chat: Will you moderate this chat? YES NO C.75 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_starts_chat_ frame.jsp 0) { chatSubjectMessage = “category: “ + chatSubject; }
- 698 Appendix C Source Code for bonForum Web Application %> 0) { chatTopicMessage = “topic: “ + chatTopic; } %> bonForum
- C.76 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_starts_chat_ready.jsp 699 C.76 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_starts_chat_ ready.jsp bonForum
- 700 Appendix C Source Code for bonForum Web Application request.getServerPort() + “/bonForum/jsp/forum/host_executes_chat.jsp”); request.setAttribute(“refresh”, “true”); request.setAttribute(“increment”, “100”); request.setAttribute(“limit”, “1”); request.setAttribute(“message”, “Preparing new chat!”); %> C.77 Filename: TOMCAT_HOME\webapps\ bonForum\jsp\forum\visitor_starts_chat_ robot.jsp bonForum
- C.77 Filename: TOMCAT_HOME\webapps\bonForum\jsp\forum\visitor_starts_chat_robot.jsp 701 Plugin tag OBJECT or EMBED not supported by browser.
CÓ THỂ BẠN MUỐN DOWNLOAD
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P1
50 p | 259 | 101
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P2
50 p | 183 | 64
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P3
50 p | 234 | 49
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P5
50 p | 137 | 36
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P11
50 p | 111 | 35
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P4
50 p | 145 | 35
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P12
50 p | 135 | 34
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P9
50 p | 124 | 32
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P6
50 p | 191 | 32
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P7
50 p | 132 | 31
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P10
50 p | 144 | 29
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P8
50 p | 109 | 29
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P14
50 p | 119 | 28
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P13
50 p | 113 | 27
-
XML, XSLT, Java, and JSP: A Case Study in Developing a Web Application- P16
19 p | 146 | 25
Chịu trách nhiệm nội dung:
Nguyễn Công Hà - Giám đốc Công ty TNHH TÀI LIỆU TRỰC TUYẾN VI NA
LIÊN HỆ
Địa chỉ: P402, 54A Nơ Trang Long, Phường 14, Q.Bình Thạnh, TP.HCM
Hotline: 093 303 0098
Email: support@tailieu.vn