Struts2 .action extension causing CSS, JavaScript and Struts Dojo to break

Try to use struts action exstension with comma like this <constant name=”struts.action.extension” value=”,”/>. From the struts2 properties file: Used by the DefaultActionMapper You may provide a comma separated list, e.g. struts.action.extension=action,jnlp,do The blank extension allows you to match directory listings as well as pure action names without interfering with static resources, which can be specified … Read more

Unable to get Struts2 Hello World to work using Eclipse and Maven

If you follow the tutorial, which is linked to the page Struts 2 Hello World Example, and done everything till p. 7 then you should Run it as is written In Struts2, you can access the action class directly with a suffix of .action. http://localhost:8080/Struts2Example/User/Login.action If you tried to access application as http://localhost:8080/Struts2Example you will … Read more