FilterDispatcher not being invoked with URL pattern /*

2007-06-12 Thread Danny Hurlburt
Hello, I am using Tomcat 5.5 as my servlet container. I have added the org.apache.struts2.dispatcher.FilterDispatcher as a filter with a url pattern of /*. struts2 org.apache.struts2.dispatcher.FilterDispatcher When following the HelloWorld example on the Strut's wiki (h

Re: FilterDispatcher not being invoked with URL pattern /*

2007-06-13 Thread Danny Hurlburt
problem. Have you included a filter mapping instead? web.xml: 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/web-app_2_4.xsd&qu

Re: FilterDispatcher not being invoked with URL pattern /*

2007-06-13 Thread Danny Hurlburt
Does anyone know if it true that if the Struts FilterDispatcher finds a match for an action that the matching servlet is not invoked? That is, will it will skip calling chain.doFilter(...) on the FilterChain object when it finds a match? I have not looked at the source code yet. Danny Hurlburt

Struts2 Not Executing Actions

2007-06-13 Thread Danny Hurlburt
Hello, I am new to Struts2 and am running into some problems. I have read much of the documentation on the wiki but I am still stuck. I have added the filter declaration and filter mapping to web.xml. I have confirmed that it gets invoked by setting a breakpoint in the doFilter method. I have

Re: [S2] Could not parse struts.locale setting

2007-06-13 Thread Danny Hurlburt
I was getting the same warning. I was able to remove the warning by creating a /WEB-INF/classes/struts.properties file with struts.locale=en_GB I am however not able to set the locale via the constant element in struts.xml althought the documentation at http://struts.apache.org/2.0.6/docs/cons

Re: Struts2 Not Executing Actions

2007-06-14 Thread Danny Hurlburt
ts.xml is in the WAR file, and the location of it? /Ian Danny Hurlburt wrote: Hello, I am new to Struts2 and am running into some problems. I have read much of the documentation on the wiki but I am still stuck. I have added the filter declaration and filter mapping to web.xml. I have confi