Announcement Announcement Module
Collapse
No announcement yet.
Specifying Profile using Tomcat's context Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Specifying Profile using Tomcat's context

    I have a Spring 3.1 web app that runs in Tomcat. I have set up several profiles, and I am currently switching between them using -Dspring.profiles.active="[profile]" as a VM argument. I would like to be able to specify the profile in Tomcat's conf/context.xml. Is there a way for the context in this file to be included in the Spring context?

    Thanks for any help you can offer.
Working...
X