0 Replies Latest reply on Jul 25, 2005 6:32 AM by eporcelli

    servlet applet communication

    eporcelli

      I can call a servlet from an applet on tomcat standalone using code like this (i want to call doPost method on servlet)

      URLConnection con = getServletConnection();
      OutputStream outstream = con.getOutputStream();
      ObjectOutputStream oos = new ObjectOutputStream(outstream);
      oos.writeObject(req);

      but when i use jboss embedded tomcat this don't work (i debug the servlet using eclipse/lomboz enviroment and the breakpoint on doPost is never reached)

      Someone can help me?