31 January, 2014

Struts

This page will have only Struts debugging techniques:
=====================================================

Issue 1 :
=========

Unable to load configuration. - bean - jar:file:/D:/Akshay/Technical/Tomcat/apache-tomcat-7.0.47-windows-x64/apache-tomcat-7.0.47/webapps/HelloWorldStruts/WEB-INF/lib/struts2-core-2.3.16.jar!/struts-default.xml:40:72

==> Don't duplicates struts libraries in WebServer, ensure no parsing issue in struts.xml file

Tips 1
======
Always delete deployed WAR folder


Tips 2
======
Use below filter class for warning in Tomcat console

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter



***********************************************************************
* WARNING!!! *
* *
* >>> FilterDispatcher <<< is deprecated! Please use the new filters! * * * * This can be a source of unpredictable problems! * * * * Please refer to the docs for more details! * * http://struts.apache.org/2.x/docs/webxml.html * * * ***********************************************************************

No comments: