My applet call a servlet with POST method using this code :
URL u = new URL (buf.toString()) ; //buf is the url of the servlet
URLConnection uc = u.openConnection();
PrintWriter out = new PrintWriter(uc.getOutputStream());
out.print(.....)); //put the parameters
DataInputStream in = new DataInputStream (new BufferedInputStream(uc.getInputStream())) ;
Netscape 4.7 seems to don't like this code, the java console tells me :
at netscape.net.URLConnection.connect(Compiled Code)
* at netscape.net.URLConnection.getInputStream(Compiled Code)
at Ade.AppletTree.initTree(Compiled Code)....
I think uc.getInputStream() is to recent Java to be understood by the JVM of Netscape 4.7.
Can I replace uc.getInputStream() by something to have a better result. I've already tried to call the servlet with GET method but one of my parameters is to big.