Conclusion
This chapter presented the Chat project, a fun online application that creates an Internet-based chat room using web browsers. Using Chat, you can talk with friends on the Internet using nothing more than browsers and a JSP-enabled server.
To create the chat room, Chat uses HTML, Java, JavaScript, and JSP. The HTML part presents the frames that the rest of the application displays itself in—a bottom frame with HTML controls that lets the user enter comments, and an upper frame that displays the current comments and refreshes itself ever 5 seconds (and that time can be easily altered).
JSP did most of the work in the Chat project. Using JSP, you can display the current text as well as the HTML controls—a text area for comments, a text ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access