Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS 6 in RAD does not load struts tld

 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I all have a web project that is using struts. I tried to deploy it in my WAS 6 running in RAD, and I get the following error.....

[4/25/08 16:30:41:702 EDT] 00000020 jsp E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/struts-logic.tld]: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.logic.IterateTei]
[4/25/08 16:30:41:702 EDT] 00000020 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebInfMap webinf tld failed to load for resourcePath =[/WEB-INF/struts-logic.tld]
com.ibm.ws.jsp.JspCoreException: org.xml.sax.SAXException: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.logic.IterateTei]
at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:246)
at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebInfMap(TagLibraryCache.java:295)


Anyone know what is wrong? These tlds are all there in my WEB-INF folder. I also have the sturts jars in the Build path of my project.

Thanks in advance for any help,
Jehan
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jehan,
If you search this forum, you will find several times this question has been asked. I think this one explains it well.
 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried what was suggested but I am still getting the error. All of my struts jars are from the same version. I also have the following in my JSP...

<%@ 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"%>

Any other suggestions? Do the sturts jars have to server class path or is it enough if they are in the project build path in RAD?

Thanks for any help.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One other thing to check: make sure that you do not tell RAD that it's a Struts project. In the RAD tooling, Struts 1.1 is used, so you don't want that getting mixed up with your Struts 1.3 classes. Another thing you might do is create a separate classloader for the application. WebSphere uses Struts 1.1 for its admin console, so you don't want your application classes being loaded before the server classes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic