I am trying to make a small login application in struts 2. My web.xml:
Make sure the following are on your class path:
Edit: Have you followed http://struts.apache.org/release/2.3.x/docs/how-to-create-a-struts-2-web-application.html to set up your project? Why are you using struts 2.1.X.X and not 2.2.x.x?
Try:
action
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
action
/*