简体   繁体   中英

hdiv configuration

If any one have integrated hdiv 2.0.4 for security integrity with struts 2.0.11, then please help me out on the configurations. I have integrated and configured it successfully and I am able to deployed successfully on my tomcat6.

Now, I am able to bring up the welcome/login page of my web-app. When I enter the login info, the action is called and after which I get null pointer exceptions. Pls, help me out to eliminate these exceptions.

Nov 14, 2012 5:49:03 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NullPointerException at org.hdiv.util.RequestUtilsHDIV.composeURL(RequestUtilsHDIV.java:108) at org.hdiv.util.RequestUtilsHDIV.addHDIVParameterIfNecessary(RequestUtilsHDIV.java:59) at org.hdiv.dispatcher.HDIVServletRedirectResult.doExecute(HDIVServletRedirectResult.java:122) at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178) at org.hdiv.dispatcher.HDIVServletActionRedirectResult.execute(HDIVServletActionRedirectResult.java:200) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:

It seems that the request is not processed by HDIV's filter. All request must be processed by HDIV's filter before to use it in the view layer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM