Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to change default theme in struts2

 
vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tried to change the default theme in struts.properties "struts.ui.theme = simple", but, the change does not reflect in my jsp. Am I missing out something.... ny help is appreciated...

TIA,
vinitha
 
sunil gupta
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can specify theme="simple at tag level or form level and it should work.
 
vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does work when added in the form tag. I want to change the config in struts.properties
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic