Hi.
I am trying to capture 2 values from the browser/applet and using object input/output stream, pass them to the
servlet on the app-server.
JAVA console is showing me meaningless error :
This is the code snippet from the
applet in which I am trying to write to the outputstream, so that at the other end they can be read from the input stream :
and this is the code on the server side. The input stream should be able to read the two inbound parameters...
Somehow I believe the two paramaters
String usr = ois.readUTF();
String pwd = ois.readUTF();
caused this problem because the code worked well for one parameter of type integer.
Update:
I tried writeUTF() instead of writeObject() and got the same response code 500, pretty meaningless message for me.
Update:
readObject() one end
writeObject() other end
[ November 22, 2002: Message edited by: achana chan ]
[ November 22, 2002: Message edited by: achana chan ]
[ November 22, 2002: Message edited by: achana chan ]