aspose file tools*
The moose likes Websphere and the fly likes WAS 6 in RAD does not load struts tld Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 6 in RAD does not load struts tld" Watch "WAS 6 in RAD does not load struts tld" New topic
Author

WAS 6 in RAD does not load struts tld

Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 196
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

Joined: May 26, 2003
Posts: 31079
    
163

Jehan,
If you search this forum, you will find several times this question has been asked. I think this one explains it well.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 196
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS 6 in RAD does not load struts tld