Announcement Announcement Module
Collapse
No announcement yet.
System property in spring configurations file. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • System property in spring configurations file.

    Hi to all!

    How can I set system property in spring configurations file?

    Alesia

  • #2
    Status

    Originally posted by Alesia View Post
    Hi to all!

    How can I set system property in spring configurations file?

    Alesia
    Any solution to this?

    Comment


    • #3
      Use a PropertyPlaceholderConfigurer. This allows you to keep your enviroment-specific properties defined separately, yet use them in the main Spring configuration.

      The ${propertyKeyword} construct allows you to specify the property defined in a separate properties file.

      Comment


      • #4
        Originally posted by sachinambe View Post
        Use a PropertyPlaceholderConfigurer. This allows you to keep your enviroment-specific properties defined separately, yet use them in the main Spring configuration.

        The ${propertyKeyword} construct allows you to specify the property defined in a separate properties file.
        This is described here

        Comment

        Working...
        X