Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Web applications 混合标签的问题_Web Applications - Fatal编程技术网

Web applications 混合标签的问题

Web applications 混合标签的问题,web-applications,Web Applications,如何使html标记与其他框架标记兼容。您需要了解Struts2,默认(“xhtml”)将表单放入表中。还有一个叫做“css_xhtml”的,它使用css进行格式化。另一个名为“simple”的方法只是添加元素,但字段消息不会显示在simple上 要更改主题,需要在struts.xml文件中指定默认值,方法是指定: <constant name="struts.ui.theme" value="css_xhtml" /> (for example) (例如) 您还可以实现自定义主题

如何使html标记与其他框架标记兼容。

您需要了解Struts2,默认(“xhtml”)将表单放入表中。还有一个叫做“css_xhtml”的,它使用css进行格式化。另一个名为“simple”的方法只是添加元素,但字段消息不会显示在simple上

要更改主题,需要在struts.xml文件中指定默认值,方法是指定:

<constant name="struts.ui.theme" value="css_xhtml" /> (for example)
(例如)

您还可以实现自定义主题,因为它们只是一组Freemarker模板。如果你想走这条路,应该会有所帮助。

谢谢你的快速回复,我会尝试一下。如果你指定你使用的html5标记以及它与Struts2的混合方式,我会很好奇。