File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Can't get definitions factory from context. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Can Watch "Can New topic
Author

Can't get definitions factory from context.

Nadine Hossam
Greenhorn

Joined: Jun 19, 2005
Posts: 13
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?
Merrill Higginson
Ranch Hand

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


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't get definitions factory from context.
 
Similar Threads
problem in inserting Tiles definitions into webpage
Can't get definitions factory from context
Is there any limitation in the no of definition entries allowed in tiles.xml file
Can't get definitions....
bad major version at offset=6