1

I am creating a project using maven as below

mvn archetype:generate -B -DgroupId=com.myApplication -DartifactId=MyApplication -
DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -
DarchetypeVersion=2.3.7

After that in struts.properties file I am changing

struts.ui.theme=xhtml

to

struts.ui.theme=simple

but when I run the application the simple theme doesn't apply.

Roman C
  • 49,761
  • 33
  • 66
  • 176
jaychapani
  • 1,501
  • 1
  • 13
  • 31

1 Answers1

1

Find the files struts.properties struts.xml in the project and in deployment. Check that every found file contains necessary changes before run and after run. And struts.xml doesn't contain <constant name="struts.ui.theme". If it doesn't help try to search disk or computer for keyword struts.ui.theme. HTH

Roman C
  • 49,761
  • 33
  • 66
  • 176