Announcement Announcement Module
Collapse
No announcement yet.
How to change the <Context-Param> in web.xml programatically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change the <Context-Param> in web.xml programatically

    Hi,

    I have a requirement that one web application should be accessed by 2 different urls. They should have different color schemes. I am using primefaces. The prime faces scheme should be defined in web.xml as a context-param.

    Can I make this change dynamically based on the url.
    I have seen that ServletContextPropertyPlaceholderConfigurer can be used. But not able to get an example.

    Please advice

    Thanks
    Vinaya
Working...
X