On 3/1/07, Vincente <[EMAIL PROTECTED]> wrote:
I have this applet that seralize an Java object and sends it to the
servlet for processing.
The method in the applet that sends the serialized Java object to the
servlet as follows:
public void sendObject( URLConnection con , Object obj ) throws
IOException {
ObjectOutputStream out = new ObjectOutputStream(
con.getOutputStream() );
if ( obj != null ) {
out.writeObject( obj );
}
out.close ();
}
I have actually written a program to serialize my object into a file.
I've added in a Http Request into the test plan. I've set "Send a File
With the Request" with the serialized object file and Mime Type is
application/x-java-serialized-object.
I'm not very sure what is the "Value for "name" attribute" field is for.
Is my approach correct?
Appreciate any advice,.
Any advice?