[
https://issues.apache.org/jira/browse/WW-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887293#comment-15887293
]
Yasser Zamani commented on WW-4747:
-----------------------------------
[~aleksandr-m], you may be interested in a similar issue at [Struts2 generates
value=“Submit” which the W3C markup validator says is an
error|http://stackoverflow.com/questions/37030217/struts2-generates-value-submit-which-the-w3c-markup-validator-says-is-an-error].
> s:file generates input tag with "value" attribute
> -------------------------------------------------
>
> Key: WW-4747
> URL: https://issues.apache.org/jira/browse/WW-4747
> Project: Struts 2
> Issue Type: Bug
> Components: Core Tags
> Affects Versions: 2.3.x, 2.5
> Reporter: Iwasa Kazmi
> Assignee: Aleksandr Mashchenko
> Priority: Minor
> Fix For: 2.5.next
>
>
> <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)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)