Two Laptop Bag*
The moose likes Struts and the fly likes JSP error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSP error" Watch "JSP error" New topic

JSP error

Pam Theod

Joined: Apr 19, 2006
Posts: 14
I have an application in Tomcat and I am moving it to weblogic. I created the war file and deployed in war file. When I loginto the application, I see this error message.

Error in using tag library uri='/tags/struts-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)

<%@ taglib uri="/tags/struts-html" prefix="html" %>

I checked struts.jar, it has CheckboxTag class.

I am not able to figure out where the problem.

Any insight to this is appreciated.

Thanks in advance.

P pro
Pam Theod

Joined: Apr 19, 2006
Posts: 14
I got past this error. I had different version of the tld. When I copied the correct version and deployed, I dont see this error.

I am seeing a different error message. Here is the message

at org.apache.struts.action.ActionServlet.getRequestProcessor(
at org.apache.struts.action.ActionServlet.process(
at Source)
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl$
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
at weblogic.servlet.internal.ServletRequestImpl.execute(
at weblogic.kernel.ExecuteThread.execute(

Any help on this is appreciated.

P pro
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This error appears to be happening when Struts tries to instantiate the RequestProcessor. Did you write your own class to extend the Struts RequestProcessor? If so, this error may be related to that class not extending the correct class. Are you using tiles? If you haven't defined things correctly, that could cause the problem as well.

Consultant, Sima Solutions
Pam Theod

Joined: Apr 19, 2006
Posts: 14
I did not write any class that extends RequestProcessor. I added this code snippet in my action servlet

protected synchronized RequestProcessor getRequestProcessor (ModuleConfig config)
throws ServletException {
String key = Globals.REQUEST_PROCESSOR_KEY + config.getPrefix();
Object proc = getServletContext().getAttribute(key);

return (proc instanceof RequestProcessor) ? (RequestProcessor) proc : null;

since this was also giving me error I removed it from the action class.

Yes, I am using tiles.

I have this in my struts-config.xml


I have included struts-tiles.tld and tiles-defs.xml in my WEB-INF along with other struts related files.

Am I missing anything?

Any help on this is appreciated.

jQuery in Action, 2nd edition
subject: JSP error
Similar Threads
struts application execution problem?
problem with tld using struts 1.2.7 in weblogic 8.1 - jsp 1.1
Cannot find the tag class BaseTag
Problem with struts 1.2.7 and later versions on Weblogic 8.1
error in eclipse IDE for struts application