wood burning stoves 2.0*
The moose likes Struts and the fly likes struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts" Watch "struts" New topic
Author

struts

greeshma viswarajan
Greenhorn

Joined: Jul 04, 2008
Posts: 9
The Struts dispatcher cannot be found.
yash wardhan
Ranch Hand

Joined: Jan 22, 2008
Posts: 46
neither subject nor details give any idea of your problem.
See if you have made the correct entry of struts in web.xml
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689

Hi.....

Please make sure your wex.xml file contains,

<filter>
<filter-name>struts2</filter-name>
<filter-class>
com.printeverywhere.util.StrutsFilterDispacher
</filter-class>
</filter>

Thanks,
Nishan Patel.


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Ankur Jain
Greenhorn

Joined: Sep 09, 2008
Posts: 6
<filter>
<filter-name>struts2</filter-name>
<filter-class>
com.printeverywhere.util.StrutsFilterDispacher
</filter-class>
</filter>

Here StrutsFilterDispacher is a custom FilterDispacher
Ankur Jain
Greenhorn

Joined: Sep 09, 2008
Posts: 6
Have this in web.xml


<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_9"
version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/webapp_2_4.xsd">
<display-name>Struts Blank</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>


and check for following lib

WEB-INF/lib/commons-logging-1.1.jar
WEB-INF/lib/freemarker-2.3.8.jar
WEB-INF/lib/ognl-2.6.11.jar
WEB-INF/lib/struts2-core-2.0.6.jar
WEB-INF/lib/xwork-2.0.1.jar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts