aspose file tools*
The moose likes Struts and the fly likes ActionContext.getContext() null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionContext.getContext() null" Watch "ActionContext.getContext() null" New topic
Author

ActionContext.getContext() null

Francesco Steccanella
Greenhorn

Joined: May 09, 2014
Posts: 2
Hi,
I'm trying to deploy my first struts2 portlet on WebSphere Portal 8, but ActionContext.getContext() always returns null.

stack:


these are the relevant configuration files (inside WEB-INF):

web.xml


struts.xml


portlet.xml


jar list:
commons-beanutils-1.8.0.jar
commons-chain-1.2.jar
commons-collections-3.1.jar
commons-digester-2.0.jar
commons-fileupload-1.3.1.jar
commons-io-2.2.jar
commons-lang-2.4.jar
commons-lang3-3.1.jar
commons-logging-1.1.3.jar
commons-logging-api-1.1.jar
commons-validator-1.3.1.jar
freemarker-2.3.19.jar
ognl-3.0.6.jar
spring-beans-4.0.4.RELEASE.jar
spring-context-4.0.4.RELEASE.jar
spring-core-4.0.4.RELEASE.jar
spring-expression-4.0.4.RELEASE.jar
spring-test-4.0.4.RELEASE.jar
spring-web-4.0.4.RELEASE.jar
struts2-core-2.3.16.3.jar
struts2-portlet-plugin-2.3.16.3.jar
struts2-spring-plugin-2.3.16.3.jar
xwork-core-2.3.16.3.jar


Where am I wrong?!

Thanks in advance
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Is that the full stack trace?


[How To Ask Questions On JavaRanch]
Francesco Steccanella
Greenhorn

Joined: May 09, 2014
Posts: 2
I've edited the first post with the fullstack..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActionContext.getContext() null