wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Problem with struts 1.2.7 and later versions on Weblogic 8.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: 60774
    
  65

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: http://aspose.com/file-tools
 
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.