File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Problem with struts 1.2.7 and later versions on Weblogic 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic

Problem with struts 1.2.7 and later versions on Weblogic 8.1

dee sri

Joined: Mar 10, 2006
Posts: 5
I have a trade application which was using struts version 1.2.1.
Now I upgraded it to 1.2.7 with the proper upgrade libraries.
I deploy it in weblogic as an ear file which in turn has trade.war file.
The login.jsp throws an error

/common/taglibs.jsp(3): Error in using tag library uri='' prefix='html': The Tag class 'org.apache.struts.taglib.html.CheckboxTag' has no setter method corresponding to TLD declared attribute 'errorKey', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /common/taglibs.jsp line 3:
<%@ taglib uri="" prefix="html" %>

My taglibs.jsp just have references to the tlds as below
<%@ taglib uri="" prefix="bean" %>
<%@ taglib uri="" prefix="html" %>
<%@ taglib uri="" prefix="logic">

I checked the struts.jar and tlds, in which the checkboxtag has setter methods. Is it something to do with the jsp 1.1 version which the weblogic 8.1 is supporting?Please reply
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60781

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

And please do not post questions in forums that it has nothing to do with.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Problem with struts 1.2.7 and later versions on Weblogic 8.1
Similar Threads
Exception while running Struts
1.2->1.3.8 upgrad
Can't add taglib element to web.xml
problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1
Why: File "/WEB-INF/struts-html.tld" not found.