...
protected class eContesto{
 String ora = "" ;
 String testo = "" ;
 String whoposted = "" ;
 String id = "";
}
....
Vector text = new Vector();
  // scorre il RecordSet --------------------------------
  while( rs.next() ){
   appogg = new eContesto();
   appogg.testo = rs.getString( table_name+".TESTO" ) ;
   appogg.ora = fmt_time.format(rs.getTime( "ORA" )) ;
...
   appogg.id = rs.getString(table_name+".ID");
...
   text.add( appogg );
  }
  context.put("contesti", (eContesto[])text.toArray() );


this mayby explains a bit what i want to do..

i want to pass to the vm file an array of records, or structs, but i dont know how to 
do in java (i'm new to this language)
i've seen that users and groups can be passed, but from the sourcne i cant understand 
clearly how...mmh something with TreeSet

Reply via email to