2 Replies Latest reply on Mar 15, 2006 11:57 AM by jmix2006

    Problem with Jbpm 3.1 and struts

    jmix2006 Newbie

      I am trying to develop a web application with jbpm (i am using struts) .
      My probleme :
      i have 3 jsp page : login.jsp---->task.jsp
      ---->error.jsp

      i have made in a method exexute of Loginaction a simple code :
      _____________________________________________________
      FormBean userbean =(FormBean) form;
      String userName=userbean.getUsername();
      JbpmContext.getCurrentJbpmContext().setActorId(userName);
      return (mapping.findForward("succes");
      _____________________________________________________

      the error is in 3 line .

      did my code is correct???
      i wait for your response...
      Thanks