This is the code in the model class's method
if(result!=null || result.size()>0)
     {
      objectVector = new Vector();
        for(int i=0;i<result.size();i++)
        {
         try
         {
          Hashtable hsTable = new Hashtable();
          hsTable = (Hashtable)result.elementAt(i);
          AdvanceEntryForm advanceEntryForm = new AdvanceEntryForm();
          advanceEntryForm.setResId((String)hsTable.get("resid")); 
          
        objectVector.add(advanceEntryForm);
         
        
         }
         catch(NullPointerException ne)
         {
          continue; 
         }
         
        }
      }

The variable objectVector is returned as collection of formbeans. 

In action

Vector results =  beanObject.getMethod();
request.setAttribute("results",results);


Still i can't the print the values in collection object

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to