net.agmodel.utility
Class ServletWriter

java.lang.Object
  extended bynet.agmodel.utility.ServletWriter

public class ServletWriter
extends Object

This class provides a simple method of posting multiple Serialized objects to a Java servlet and getting objects in return. This code was inspired by code samples from the book 'Java Servlet Programming' by Jason Hunter and William Crawford (O'Reilly & Associates. 1998).


Constructor Summary
ServletWriter()
           
 
Method Summary
static ObjectInputStream postObjects(URL servlet, Serializable[] objs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletWriter

public ServletWriter()
Method Detail

postObjects

public static ObjectInputStream postObjects(URL servlet,
                                            Serializable[] objs)
                                     throws Exception
Throws:
Exception


Copyright (C) NARC 2001 All Rights Reserved.