Hi guys Actually I'm stucked with a vector problem actually I have a vector in I have stored some id's now I want to take those id's 1 by 1out and wanna store them into a variable how will I do that ...... Like right now I hae a fuction for adding a id to vector but I do not have a function to retirve those id's and placing them into a var .. for adding I have something like : public Vector addtocart(int id) { if(id > 0) { list.addElement(new Integer(id)); } return list; } now I wanna retrive those id something like this int newid = take out id from vector ; pls tell me how to do this Thanks in advance Regards Preeti --- You are currently subscribed to pro_jsp as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to