|
CSCI A348/548
|
Here's what you need to do to install the web chat app:
ChatApplet from Thursday notes.
chat in
$TOMCAT_HOME/webapps/ROOT
and move there.
ChatApplet.java in chat
with the contents as in the notes of last Thursday (the last class, the most recent version). Note that
$TOMCAT_HOME/webapps/ROOT
serves as an htdocs of sorts for Tomcat and chat is just a subdirectory in it.
HttpMessage from Thursday notes.
HttpMessage.java next to the applet.
String literals.
21xxx's with your port.
$myServlets to create two files.
ChatServlet.java containing the last servlet
code from Thursday notes.
Chat.java (first example Tuesday).
21xxx's and broken lines.
$myServlets
has the role of a cgi-bin directory.
$TOMCAT_HOME/webapps/ROOT is like
htdocs
htdocs).
http://burrowww.cs.indiana.edu:21xxx/examples/servlet/Chat
Proceed, then chat.
A348/A548