I haven't failed. I have just found 10 000 ways that won't work <br /> <br /><br />p.s. Samurai
I haven't failed. I have just found 10 000 ways that won't work <br /> <br /><br />p.s. Samurai
I haven't failed. I have just found 10 000 ways that won't work <br /> <br /><br />p.s. Samurai
I haven't failed. I have just found 10 000 ways that won't work <br /> <br /><br />p.s. Samurai
Kr. Gaurav wrote:FilterDispatcher not found error details ;
This error is happening because of container is unable to find the relevant class StrutsPrepareAndExecuteFilter.class & FilterDispatcher.class respectively
after reading the Deployment Descriptor.
Make the above class available to the container you must copy the strut2-core.jar into the lib directory under WEB_INF Folder. You can easily find the above
two classes into these packages org.apache.struts2.dispatcher.ng.filter & org.apache.struts2.dispatcher respectively, that is available into the JAR file.
[ Unjar the strut2-core.jar file to see these package ]
**************************************************************************************************************************************
And there are no difference at all in these two element both do same thing. Both elements are just a convention to map our request towards the Strut Framework.
Both abs works fine with me. But yes d only one difference is there ;
// Deprecated since Strut 2.1.3 to split-up the dispatcher phases. But still working
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
So, we must follow the new convention written below thts it
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
Tested with Apache-Tomcat on Eclipse IDE
Hope everything is clear by now !!!
There are two ways of spreading light: to be the candle or the mirror that reflects it.
Souvik
OCJP 6.0
Souvik
OCJP 6.0
There is still lot to learn!