In your createElement method, you are adding Vectors into your Vector. But in "Save" action, you are trying to obtain Person objects! Either add Person objects to your Vector or try to obtain Vector objects from your Vector!
So you can't cast a Vector object to Person object. This is your mistake!
Person temp = (Person) vector.elementAt(i);