Uploaded image for project: 'Click'
  1. Click
  2. CLK-271

Properties file not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Linux, JBoss

    Description

      I am trying to use a properties file to display messages on the HTML file, I get the following error

      java.util.MissingResourceException: Message "message" not found in bundle "xxx.xxx..page.Login" for locale "en_US"

      I have added the properties file in the package location - xxx.xxx..page.

      The properties files that were added are Login.properties, Login_en.properties and Login_en_US.properties. I still keep getting the error.

      Do I need to add it to a different location in the package or does the en_US file have to be named a certain way?

      Shouldn't the Login.properties be the default?

      Thanks
      Vik

      Attachments

        Activity

          People

            medgar Malcolm Edgar
            viksman Vikram Rajan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: