• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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.
 
I child proofed my house but they still get in. Distract them with this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic