Struts is a Java MVC (model,view,controller) framework for building web applications on the J2EE platform.J2EE is a platform for executing server side Java applications.so that we can seperate the model, view (jsp files,html file),controller(servlet).
Here you can download a struts simple project for searching which does three things you can serach the names stored in a java array and show all the values or add the name.For adding name you need to insert your database code in addAction.java inside the classes folder.
HOw to run struts,free J2EE Tutorial from s2sgateway.com