5 Replies Latest reply on Apr 20, 2004 9:10 AM by zaken

    communication servlet-session bean problem

    zaken Newbie

      I have problem with method call from servlet to sessionBean.
      I have jar with session and war with servlet. I created ear and deploy it.
      I copy client view classes (remote and home) to WEB-INF\classes.
      Problem is that when my servlet call method from remote interface.
      I lost value which I sent as param to method. When I make in method body:
      System.out.println(param); //it is ok, param is String

      but when I do:
      param1 = new String(param);// i also try parm1 = param;
      my param1 all the time is "0"
      Maybe anyone know answer. I think that maybe is problem with dependent clasess (remote or home).