Click here to Skip to main content
15,902,779 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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":
XML
<%@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">

(Error in this line:Attribute xmlns invalid for tag html according to TLD)

please tell me how could i solve this.....
thanks
aamit Kumar
Posted
Updated 3-Nov-10 4:19am
v2
Comments
Nagy Vilmos 3-Nov-10 10:19am    
edited to make readable

1 solution

The attribute xmlns is not allowed within that tag html.

Read this[^] to find out exactly which tags/attributes you should use.
 
Share this answer
 
Comments
amitpinku8309 3-Nov-10 14:13pm    
ok but what is the solution for that....
plzz tell me because my design page will not run properly without xmlns


there are any another option ...
Nagy Vilmos 4-Nov-10 10:50am    
I'm not sure, but I think the html:html tag might be a problem. But it might be a good idea to read the specification; just suggesting that's all.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900