used resources:
web.xml. Front Controller is not a servlet anymore. Now it is a filter. Delete the servlet definition and add following lines:struts.xml to the folder resources. Delete form-beans and action-mappings definitions and define interceptors:actions:MyConfigInterceptor makes the action request aware:Form bean, since the Action class will take the bean function and refactor the action class. In Struts 2 method execute has no arguments and the action interceptor MyConfigInterceptor makes the action aware of the ServletRequest.