PWC6131:根据顶级域名(TLD),属性xmlns对于标记html无效 [英] PWC6131: Attribute xmlns invalid for tag html according to TLD
本文介绍了PWC6131:根据顶级域名(TLD),属性xmlns对于标记html无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用struts框架来开发一个小型项目.但是当我将一个jsp链接到另一个jsp时,出现了错误"org.apache.jasper.JasperException: /html-jsp/default.jsp(13,0) PWC6131: Attribute xmlns invalid for tag html according to TLD"
:
hi i am using struts framework for developing a small project.But when i am linking one jsp to another then i got a error "org.apache.jasper.JasperException: /html-jsp/default.jsp(13,0) PWC6131: Attribute xmlns invalid for tag html according to TLD"
:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
(此行中的错误:根据TLD,属性xmlns对于标记html无效)
请告诉我我该怎么解决.....
谢谢
aamit Kumar
(Error in this line:Attribute xmlns invalid for tag html according to TLD)
please tell me how could i solve this.....
thanks
aamit Kumar
推荐答案
该标签html
中不允许属性xmlns
.
阅读此 [
The attributexmlns
is not allowed within that taghtml
.
Read this[^] to find out exactly which tags/attributes you should use.
这篇关于PWC6131:根据顶级域名(TLD),属性xmlns对于标记html无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文