The below example demonstrates ModelDriven & prepare Interceptor in Struts Framework. In this example when you will enter Employee firstname and lastname and click on submit button then it will add employee info in to List array. here Action class implements ModelDriven interface
Run It Now!