Due to security vulnerabilities, struts2 needs to be upgraded to latest versions i.e vulnerable free (2.3.32 or 2.5.10.1) which is vulnerabilities free.
After upgrading s:submit action button will not work because it is disabled by default due to security vulnerabilities.
Example
<s:submit align="center" action='Login_loginUser' value="Login"/>
So that to make it as working, we need to add the following constant parameter in struts.xml
<constant name="struts.mapper.action.prefix.enabled" value="true"/>
Then build the application and redeploy the application and check. We will assist you, if you need any help.
Hello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting, Website Development, and IAM(ForgeRock) Specialist
I am a self-learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.