在應用的web.xml中配置了InvokerServlet.
















在jboss4.0.5中使用沒有問題,但遷移到4.2時,當使用到InvokerServlet就會出異常,解決辦法:
在D:\jboss-4.2.1.GA\server\all\deploy\jboss-web.deployer下context.xml文件中的context元素中添加屬性:privileged
<Context cookies="true" crossContext="true" privileged="true">
出現這個問題可能是tomcat5.5和tomcat6的差異,暫未查明,本文只供個人參考,不接受評論.