Problem using sockets, etc.

Alrighty, well I'm building a very basic chat server using the tutorial from IBM, and when I got to compile it, I get the following (DOS capture):

Server.java:51: warning: [unchecked] unchecked call to put(K,V) as a member of t

he raw type java.util.Hashtable

outputStreams.put(s, dout);

^

.\ServerThread.java:27: cannot find symbol

symbol : class DataIntputStream

location: class ServerThread

DataInputStream din = new DataIntputStream(socket.getInputStream());

^

1 error

1 warning

Not sure what the first one means, and I'm none too sure how to correct the second one. Suggestions?

[665 byte] By [Java_the_Hutta] at [2007-11-26 15:30:09]
# 1
Heh, I just noticed the typo.But what does the hashtable bit mean?
Java_the_Hutta at 2007-7-8 21:46:42 > top of Java-index,Java Essentials,New To Java...
# 2
It is a warning you'll get from java 5 and up when you use plain Object types where you would need to use a generic type. Look up "generics" for a more detailed explanation.
gimbal2a at 2007-7-8 21:46:42 > top of Java-index,Java Essentials,New To Java...