I am facing problems in Applet-Servlet communication. I open a HttpURLConnection --> get outputstream --> write object on it.
Then i want to read the response from servlet on same connection after getting the input stream. BUT i face an exception doing this. Can someone help me out. Here is the code snippet along with the stacktrace.