You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Nekkalapudi, Viplava" <VN...@erac.com> on 2002/12/03 22:02:13 UTC

RE: Struts-EL Tag Library Problem (Even More Info)

I have figured out my problem.  I'm using the Struts 1.1 Beta 2 release with
the nightly build version (12/03/02) of the "struts-el" project.  These are
obviously not compatible.  I want to stick with the B2 version of Struts, so
does anyone know what nightly release of the "Struts-EL" project is
compatible with Struts 1.1 B2?

Thanks,

Vip.

-----Original Message-----
From: Nekkalapudi, Viplava 
Sent: Tuesday, December 03, 2002 2:42 PM
To: 'struts-user@jakarta.apache.org'
Subject: RE: Struts-EL Tag Library Problem (More Info)


Here are some additional details from my server log.  It appears there is no
"setHtmlComment" method with 1 argument in the library code:

    [java] <Dec 3, 2002 2:25:03 PM CST> <Info> <HTTP>
<[WebAppServletContext(2839100,edge,/edge)] r
solved taglib uri '/WEB-INF/struts-html-el.tld' to taglib-location
/WEB-INF/struts-html-el.tld:>
    [java] java.beans.IntrospectionException: No method "setHtmlComment"
with 1 arg(s)
    [java]     at java.beans.Introspector.findMethod(Introspector.java:985)
    [java]     at
java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:89)
    [java]     at
org.apache.strutsel.taglib.html.ELJavascriptValidatorTagBeanInfo.getProperty
Descr
ptors(ELJavascriptValidatorTagBeanInfo.java:109)
    [java]     at
java.beans.Introspector.getTargetPropertyInfo(Introspector.java:346)
    [java]     at java.beans.Introspector.getBeanInfo(Introspector.java:296)
    [java]     at java.beans.Introspector.getBeanInfo(Introspector.java:128)

-----Original Message-----
From: Nekkalapudi, Viplava 
Sent: Tuesday, December 03, 2002 2:34 PM
To: 'struts-user@jakarta.apache.org'
Subject: Struts-EL Tag Library Problem


Our team is trying to use the latest nightly build version (12/03/2002) of
the "Struts-EL" subproject.   It appears that the latest TLDs do no match
the source code.  For example, earlier today I encountered the following
error for the "ELBaseTag" at runtime:

No setter method corresponding to TLD declared attribute 'server'.

To fix this problem, I removed the "server" attribute from the
"struts-html-el.tld" file.  But now I'm getting the following problem.  It
seems like the TLDs are out of synch with the code.  Does anyone have any
suggestions?  Thanks, Vip.

/jsp/login/loginTile.jsp(12): Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html-el': error introspecting
class: 'org.apache.strutsel.taglib.html.ELJavascriptValidatorTag':
java.lang.NullPointerException
probably occurred due to an error in /jsp/login/loginTile.jsp line 12:
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> 
----------------------------------------------------------------------------
----
Tue Dec 03 14:25:05 CST 2002 [Exception in:loginTile.jsp] (line 12): Error
in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el':
error introspecting class:
'org.apache.strutsel.taglib.html.ELJavascriptValidatorTag':
java.lang.NullPointerException 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>