i get the error in this line in my applet:
CODE
inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
this is the method that conatins the line above:
CODE
protected String myMethod(String fileName) {
String doc = null;
ObjectInputStream inputFromServlet = null;
try {
URL loadMapServlet = new URL(this.getCodeBase(), "loadMap?action=load&fileName=" + this.getCodeBase().toString() + fileName);
URLConnection servletConnection = loadMapServlet.openConnection();
inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
doc = (String)inputFromServlet.readObject();
inputFromServlet.close();
}
catch (Exception e) {
e.printStackTrace();
}
return doc;
}
String doc = null;
ObjectInputStream inputFromServlet = null;
try {
URL loadMapServlet = new URL(this.getCodeBase(), "loadMap?action=load&fileName=" + this.getCodeBase().toString() + fileName);
URLConnection servletConnection = loadMapServlet.openConnection();
inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
doc = (String)inputFromServlet.readObject();
inputFromServlet.close();
}
catch (Exception e) {
e.printStackTrace();
}
return doc;
}
another thing.. i have read that jdk 1.5 has a bug with Server returned HTTP response code: 500... is there any workarounds?
i have also read that jdk 1.5 has issues with the XPathEvaluator.. if i want to use this, how do i add the newer xalan and xerces jars?

