I have an ActionScript File sending XML to my servlet. I am only getting empty arrays on output. In ActionScript I checked and I am in fact sending the correct XML.
Anyone know what Exactly I'm doing wrong?
Exception error is:
java.io.StreamCorruptedException: invalid stream header
package myDungeonAccessor;
try {
System.out.println("HEADERS: " + request.getHeaderNames());
ObjectInputStream in = new ObjectInputStream(request.getInputStream());
System.out.println(in);
ObjectOutputStream out = new ObjectOutputStream(response.getOutputStream());
} catch(Exception e) {
e.printStackTrace();
}
Exception