• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic