问题
Is it possible to convert my <html:text...
in HTML5 format (type=email, number, etc...)
Is it possible with Struts tags ?
回答1:
You'd need to take the existing tag library and convert then to output the new tags. If you do, you could file it as a patch I don't know of any efforts under way to do this for Struts 1, which is likely to be EOLed soon anyway.
来源:https://stackoverflow.com/questions/7497326/use-html5-input-with-struts