Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

weblogic 60 sp1 - struts 1_0 jsp 1_1

0 views
Skip to first unread message

Ben

unread,
Aug 2, 2001, 12:05:30 PM8/2/01
to
Hi,

I am getting this error when using the struts framework with WL 6_0 sp
1...

Can I really rely on this error message from Weblogic? It seems very
odd that the struts group would go off and code their classes not
conforming to the jsp 1.1 specification - could it be that weblogic is
not loading the struts tag class at all?

8-01 16:51:50:739 - (E) SMSActionServlet Thread [ExecuteThread: '11'
for queue: 'default']; Exception
[weblogic.servlet.jsp.JspException: (line 3): Error in using tag
library uri='/WEB-INF/struts-html.tld' prefix='struts': The Tag class
'org.apache.struts.taglib.html.BaseTag' has no setter method
corresponding to TLD declared attribute 'target', (JSP 1.1 spec,
5.4.1)
at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:257)
at weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:389)
at weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:267)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:234)

02-08-01 16:51:50:740 - (E) SMSActionServlet Thread [ExecuteThread:
'11' for queue: 'default']; Unexpected exception:(line 3): Error in
using tag library uri='/WEB-INF/struts-html.tld' prefix='struts': The
Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter method
corresponding to TLD declared attribute 'target', (JSP 1.1 spec,
5.4.1)

It seems like the jsp1.1 spec says you must have get & set method for
a jsp Tag class. The struts classes do not (as in the above example
BaseTag has an attribute of target in its TLD file but no
setTarget(String target) method... So when weblogic tries to resolve
the tag library struts-html.tld it falls over!

Thanks

0 new messages