PP> Has anyone out there ever successfully coded
PP> applet/servlet combo that uses HTTP Tunnelling
PP> communication and works with the Java Plugin
PP> 1.3.
this is was work for me (MethodCall is the Object sent; it's all in the doPost()):
Object responseObject = null;
response.setContentType("application/octet-stream");
ObjectOutputStream objout =
new ObjectOutputStream(response.getOutputStream());
try {
ObjectInputStream objin =
new ObjectInputStream(request.getInputStream());
MethodCall mc = (MethodCall) objin.readObject();
responseObject = something(mc);
}
catch (Exception ex1) {
// ...
}
try {
objout.writeObject(responseObject);
objout.close();
}
catch (Exception ex2) {
// ...
}
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html