• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Can't get definitions factory from context.

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have developed a web application with tiles, using eclipse and tomcat as the app server.
And it's working fine.
Now I'm trying to move to websphere, I copied all the files but it's getting me this error

[7/26/07 16:16:24:172 AST] 45a28f4f WebGroup E SRVE0026E: [Servlet Error]-[Can't get definitions factory from context.]: javax.servlet.jsp.JspException: Can't get definitions factory from context.
at org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag.java:583)

Although it's working fine on tomcat.
I have put the struts-tiles.tld, struts.jar in the lib folder isnide WEB-INF. And added taglib definition in web.xml. And tiles-defs.xml. And added the tiles plugin in the trsuts-config file.

so I guess it's something related to the websphere itself as, Any help?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Nadine Hossam:
I have put the struts-tiles.tld, struts.jar in the lib folder isnide WEB-INF


The struts-tiles.tld file should go in WEB-INF, not in WEB-INF/lib. Also, you need more than just the struts.jar file. You will need all the jar files that came with the Struts download.
 
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic