Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top