File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1 " Watch "problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1 " New topic
Author

problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1

dee sri
Greenhorn

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='http://struts.apache.org/tags-html' 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="http://struts.apache.org/tags-html" prefix="html" %>

My taglibs.jsp just have references to the tlds as below
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" 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
Marshal

Joined: Jan 10, 2002
Posts: 60986
    
  65

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Verify that an earlier version of the struts.jar or commons jars is not being loaded by another class loader. I'm not that familiar with WebLogic, but I'm sure it has common /lib directories where you put jar files that apply to all applications. Check these areas to make sure that one of the above jar files isn't there. If it is, remove it.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1