I think I have a problem with applet -> servlet communication. I need write in ObjectOutputStream some info and then, my servlet must read this info. The problem is that servlet read but then, when it must go to another jsp, it doesn�t.
Applet Code:
private URLConnection getServletConnection() throws MalformedURLException, IOException { URL urlServlet = new URL("http","localhost",8080,"/project/ReadStatisticsAction.do"); URLConnection con = urlServlet.openConnection(); con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); con.setRequestProperty("Content-Type","application/x-java-serialized-object"); return con; } public void doSend() { try { URLConnection con = getServletConnection();
Since you say that the servlet reads the info fine, this question is not really about applet/servlet communication, but about setting up Struts so that it forwards correctly. I'll move the question to the Struts forum; please find it there and continue the discussion.