David
From: "John Espey" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Subject: RE: TLD and class mismatch in struts-nested.
Date: Tue, 11 Feb 2003 11:25:12 -0600
Bernard,
One thing I noticed, you are using a new enough web container that you don't
need to copy the TLD files into WEB-INF or make the entry into web.xml.
There is a URI propery in the TLD that will be found by the web container
and used for your taglib import directives. In my version, that URI is
http://jakarta.apache.org/struts/tags-nested. So I can use the following
imports in my JSPs out of the box:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested"%>
IMHO: It just seems easier to me than worrying about copying TLDs and making
web.xml entries.
-----Original Message-----
From: Bernard GRANDJEAN [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 11:10 AM
To: Struts Developers List
Cc: Bruno POMMEREL
Subject: Re: TLD and class mismatch in struts-nested.
Thank for yours answers
We are going to use a newer version.
We appreciated your fast support !
Regards
Bernard and Bruno
John Espey a écrit:
>I'm looking at struts-nested.tld that is in struts.jar (for a recent
nightly
>build), and I don't see the titleKey or title attribute for the nested form
>tag. Is it possible you have an older version (or newer) of the TLD?
>
>If you check CVS,
>http://cvs.apache.org/viewcvs.cgi/jakarta-struts/doc/userGuide/struts-neste
d
>.xml?rev=1.15&content-type=text/vnd.viewcvs-markup
>and find the nestedForm section, it looks like that attribute was removed
>(not sure what version, but I looked at Revision 1.2 and title/titlekey
were
>there.
>
>
>
>-----Original Message-----
>From: Bernard GRANDJEAN [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 11, 2003 10:15 AM
>To: [EMAIL PROTECTED]
>Cc: Bruno POMMEREL
>Subject: TLD and class mismatch in struts-nested.
>
>
>Hello,
>
>Using struts 1.1 b1 to b3 we encounter the following (fatal) problem on
>weblogic 7 :
>
>weblogic.servlet.jsp.JspException: (line 5): Error in using tag library
>
>uri='/WEB-INF/classes/struts-nested.tld' prefix='nested': The Tag class
>'org.apache.struts.taglib.
>
>nested.html.NestedFormTag' has no setter method corresponding to TLD
>declared attribute 'titleKey',
>
>(JSP 1.1 spec, 5.4.1)
>
>The same error also occured for the attribute title.
>
>Taking a look at the implementation class we discovered that indeed
>there are no such methods. Weblogic seems to abide by the spec quite
>strictly. To get rid of these, I simply removed the attributes
>declaration in struts-nested.tld. Could this be taken into account in
>the next releases ?
>
>Thanks a lot guys !
>
> Bernard.
>
>--
>Bernard GRANDJEAN
>
>CNAMTS / DSI / CNQD Seyssins-Grenoble
>Tél 04 38 12 16 85
>
>8, Rue Jean Moulin
>SEYSSINS
>38176 SEYSSINET Cedex
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Bernard GRANDJEAN
CNAMTS / DSI / CNQD Seyssins-Grenoble
Tél 04 38 12 16 85
8, Rue Jean Moulin
SEYSSINS
38176 SEYSSINET Cedex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]