Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5294

s:url tag usage in a public page triggers a warning to not expose JSP pages directly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 6.1.2
    • 6.5.0
    • None
    • None
    • Ubuntu 20, Java 8, Tomcat 9

    Description

      I have a number of public pages that use the <s:a> tags with no issues. But one page uses an <s:url> tag, and every time it is visited I get a warning on our logs the Action invocation context is null, and that JSP pages should not be exposed directly. This is an informational page only, and I can't think why the URL tag is unsafe to use while the a tag is safe. I am assuming this is a bug, but of course if there is an issue with the URL tag on a public page I would like to know.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            ekane Erica Kane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: