![]() |
![]() Spring Semester 2008 |
We are here.
Relevant for the lab this week:
classes folder
web.xml for the servlet
A JSP that implements the Flag Quiz.
The notes with sample Java web server developed from scratch are here (also listed on the lab assignment page).
Notes to serve as a reference and guide when discussing servlets and JSP: one, two, three.
These are the files needed for the web chat application:
chat/HttpMessage.class
chat/ChatApplet.class
chat/HttpMessage.java
chat/WEB-INF/lib
chat/WEB-INF/classes/MessageSource.class
chat/WEB-INF/classes/MessageSink.class
chat/WEB-INF/classes/Chat.java
chat/WEB-INF/classes/ChatServlet.class
chat/WEB-INF/classes/Chat.class
chat/WEB-INF/classes/ChatServlet.java
chat/WEB-INF/classes
chat/WEB-INF/web.xml
chat/WEB-INF
chat/index.html
chat/ChatApplet.java
chat
Note that echo $JAVA_HOME and
which javac/java should return consistent outputs/values.A common mistake would be to use jdk1.5 for JAVA_HOME and jdk1.6 for javac/java. (You get bad version number in class then...)
http://www.cs.indiana.edu/classes/a348/spr2008/notes/weekThree/three.html for basic database design
http://www.cs.indiana.edu/classes/a348/spr2004/notes/labFour.html for HTTP experiments
http://www.cs.indiana.edu/classes/a290-web/spr2008/caleb001.txt for database setup
http://www.cs.indiana.edu/classes/a290-web/spr2008/caleb001.txt for the first PHP script
http://www.cs.indiana.edu/classes/a290-web/spr2008/caleb002.txt for the second PHP script
http://www.cs.indiana.edu/classes/a348/spr2008/notes/weekThree/one.html for MySQL installation notes
http://www.cs.indiana.edu/classes/a348/spr2008/notes/weekThree/two.html for PHP installation notes
http://www.cs.indiana.edu/classes/a348/spr2008/notes/weekThree/eight.html for protected folder set-up
http://www.cs.indiana.edu/classes/a348/fall2006/notes/labTwo_1.html for part one
http://www.cs.indiana.edu/classes/a348/fall2006/notes/labTwo_2.html for part two
http://www.cs.indiana.edu/classes/a348/fall2006/notes/labTwo_3.html for part three
clreinki: one | johmyers: two | mrengler: three |
http://www.cs.indiana.edu/classes/a290-web/weekOne-002.html for a summary of steps The list of students and their assigned ports for this semester can be found here.