Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top