我希望这里有一些SAP-Netweaver专家...
我用SAP NWDS开发了一个非常简单的JSF应用程序
使用"SAP Component Library for JSF“
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sap.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sap.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<title>Hallo ?</title>
</head>
<body>
<h:form>
<h:messages/>
<hr>
<h:panelGrid border="0" columns="2">
<h:outputText value="First Name" style="color: #808080; font-style: normal; font-size: 12px; font-family: Verdana, Arial, Sans-Serif; font-weight: bold"></h:outputText>
<h:inputText value="#{person.name}"></h:inputText>
</h:panelGrid>
<h:commandButton value="Submit" action="submit"></h:commandButton>
</h:form>
</body>
</html>
</f:view>如果我运行JSF应用程序,我会收到一个弹出警报,并显示以下文本:致命的应用程序错误:不支持标准呈现文档类型。请与您的管理员联系
我不知道什么是“标准渲染文档类型”,也不知道在哪里可以配置它。
有什么想法或提示吗?
致敬Kay
发布于 2013-02-20 16:41:05
问题出在线路上
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">似乎这个LSF框架给出了<f:view>-Element中的文档类型,错误与第二个文档类型有关
https://stackoverflow.com/questions/14858716
复制相似问题