使用Struts的HTML5输入? [英] Use HTML5 input with Struts?

查看:114
本文介绍了使用Struts的HTML5输入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能以HTML5格式转换我的< html:text ... (type = email,number等等)
是有可能使用Struts标签吗?

Is it possible to convert my <html:text... in HTML5 format (type=email, number, etc...) Is it possible with Struts tags ?

推荐答案

您需要获取现有标签库并转换然后输出新标签。如果你这样做,你可以将其作为补丁提交;我不知道为Struts 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.

这篇关于使用Struts的HTML5输入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆