Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2367

struts-blank.war <message-resources parameter="MessageResources" />

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.2.4
    • None
    • Example Applications
    • None
    • Operating System: Windows XP
      Platform: PC
    • 33608

    Description

      This is not the biggest pf problems, but probably easy to fix. It did take me a
      little while to figure it out and it might help someone else's frustration in
      the future.

      In the struts-config.xml file, the resources file is listed as
      <message-resources parameter="MessageResources" />
      However, the WAR file packs an application.properties file.

      So out of the box, when trying to see if the welcome page will come up, you get
      a stack tracke with this at the top
      javax.servlet.jsp.JspException: Missing message for key "welcome.title"

      going into struts-config.xml and changing to
      <message-resources parameter="resources.application" />
      makes everything work fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aremsan@yahoo.com aaron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: