/query.jsp(8,0) Attribute type invalid for tag form according to TLD
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   paresh_padhyar
Posted On:   Monday, March 20, 2006 03:52 AM

this is my query .jsp can u help me what changes should i make in this to run my prg...im using Struts 1.2.8 and Tomcat 5.0 /////////////////////
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>




This is query page


name="/queryForm"
type="/demo1.QueryForm" >
Are you the Administrator?

Your password please!














Re: /query.jsp(8,0) Attribute type invalid for tag form according to TLD

Posted By:   WarnerJan_Veldhuis  
Posted On:   Monday, March 20, 2006 04:26 AM

Continued from thread http://www.jguru.com/forums/view.jsp?EID=1289139



Read the error message!!! It says that the attribute TYPE is invalid... Now where is the attribute type? In html:form... You cannot have "type" as an attribute.



Like I said before, you cannot have name="/queryForm" nor type="/demo1.QueryForm" in html:form. That is done automatically by Struts.... Besides, names do not begin with a /... Not even in HTML 1.0....


Next time please continue your previous thread. That way people can find the answer to your first question too....
About | Sitemap | Contact