On 01/03/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.
When a browser POSTs a file, it normally includes a "name" parameter that tells the server what name to use for the file.
Is my approach correct?
Does it work?
Appreciate any advice,.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

