Actually struts is a framwork ,tells where to place the following
files view ,controller,model.Separating the file helps the developer to fix
the bug easily in future.
For example , if the user wants to change the view then simply change
the view file only.No need to touch the functionality code atall.