File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
dee sri
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic