You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/01/28 16:30:01 UTC
DO NOT REPLY [Bug 6067] New: -
FormTag properties do not match TLD file.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6067>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6067
FormTag properties do not match TLD file.
Summary: FormTag properties do not match TLD file.
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: Solaris
Status: NEW
Severity: Critical
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: allentheengineer@earthlink.net
The properties listed for the FormTag class do not match what is available (I
tripped over the 'title' property). As a result, Weblogic 6.1 SP2 fails to
compile the page (it must be validating the TLD file against the class). Here
is the error that Weblogic throws:
Parsing of JSP File '/jsp/loginError.jsp' failed:
--------------------------------------------------------------------------------
/jsp/loginError.jsp(2): Error in using tag library uri='/WEB-INF/struts-
html.tld' prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag'
has no setter method corresponding to TLD declared attribute 'title', (JSP 1.1
spec, 5.4.1)
probably occurred due to an error in /jsp/loginError.jsp line 2:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
The loginError.jsp page is a place holder page (just happens to be the first to
be compiled) that I will be replacing later and basically just has the
following in it:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html>
<head>
<title>
Login Error
</title>
<html:base/>
</head>
<body>
<h1>
Login Error:
</h1>
<html:errors/>
<hr>
Unable to log into the system. Please contact the administrator.
</body>
</html:html>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>