0 Replies Latest reply: Nov 6, 2006 10:34 PM by 843804 RSS

    problem with useBean

    843804
      i'm new here and new for jsp and java and java bean.......

      i having problem to use javabean to call out java method in jsp......

      i not sure whether is my javaBean, jsp or java problem....
      i wanna use javaBean in jsp and call out this method from java file....
      it is my coding problem?????????
      public void setData(){
                new File(filename).delete();
                
                ObjectContainer db = Db4o.openFile(filename);
                Country c1 = new Country(this.countryName, this.countryPopulation);
                
                db.set(c1);     
                System.out.println("Successful Store");
                
           }
      Thanks