Hi Folks, Token example 3 from showcase application works as expected in Tomcat but when I deploy same application in weblogic 9.1 environment it does not function properly. For one, when I submit the form (Transfer money) and use back button and re-submit again it breaks with following exception. java.lang.NullPointerException at weblogic.servlet.internal.ServletRequestImpl.getContextPath(ServletReque stImpl.java:531) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletR equestWrapper.java:183) at org.apache.struts2.RequestUtils.getServletPath(RequestUtils.java:46) at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getUri(DefaultA ctionMapper.java:443) at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getMapping(Defa ultActionMapper.java:267) at org.apache.struts2.dispatcher.ServletRedirectResult.doExecute(ServletRed irectResult.java:127) at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSu pport.java:178)
at org.apache.struts2.interceptor.TokenSessionStoreInterceptor.handleInvali dToken(TokenSessionStoreInterceptor.java:131) Secondly, when I click few times on submit button to simulate double-post problem, after few tries it reports the same exception as above. I want to avoid using javascript to enable/disable buttons to avoid double-post and would really like to get this interceptor working. Please let me know if any of you have successfully used this interceptor in weblogic. Thanks for your interest! Laxman