It worked.
I need to enable logging (for the ognl package) to see the error.
Pass parameter, for example class.classLoader.resource.dircontext.docBase = someText to struts2 application.
local: 8080 / SampleApp / showlogin.do class.classLoader.resource.diretext.docBase = SOMETEXT
Then in the magazine I would see something like this.
java.lang.IllegalArgumentException: Document base base does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
After applying the workaround, I do not see the above error in the log.
:
http://www.brentron.com/safe/web/9248.html
http://isayan.cocolog-nifty.com/diary/2014/04/s2-020.html