I have a vector which stores say searches which the user performs in his session.. and in a page called previous search page I show them in the order they were searched. say
Search3 Search2 Search1
now say if the user accesses search 2
Search 2 should be the 1st element ie the 0th element..
ie I was the last accessed element to become the 0th elemnt and the rest moved back or what ever....
How to do this...
Please help Thanks [ June 04, 2004: Message edited by: Bear Bibeault ]
Re-ordering the elements of a vector is a plain-old Java task. Nothing to do with JSP, so I'm moving this off to the Java in General(beginner) forum. [ June 04, 2004: Message edited by: Bear Bibeault ]