Due to security vulnerabilities, struts2 needs to be upgraded to latest versions i.e vulnerable free (2.3.32 or 126.96.36.199) which is vulnerabilities free.
After upgrading s:submit action button will not work because it is disabled by default due to security vulnerabilities.
<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 IT industry more than 7 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting and Website Development.
I am a self learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.