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

s:file generates input tag with "value" attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1, 2.5
    • 2.5.12
    • Core Tags
    • None

    Description

      <s:file> tag generates HTML tag like:
      <input type="file" ... value="" .../>

      It is valid as long as the empty "value" value was specified, but HTML5 standard says:
      "The element's value attribute must be omitted."
      https://www.w3.org/TR/html5/forms.html#file-upload-state-(type=file)

      Attachments

        Activity

          People

            aleksandr-m Aleksandr Mashchenko
            kzmi Iwasa Kazmi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: