You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Xibin Liu <Xi...@pwgsc.gc.ca> on 2008/01/02 20:05:15 UTC

RE: SEVERE: Error filterStart

Does not work (in struts.xml):

<struts>
    <include file="map.xml"/>
</struts>

But works if the package in map.xml is copy to struts.xml:

<struts>

    <package name="map" namespace="/map" extends="struts-default">
    ....
    </package>
</struts>

Any idea?

-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com] 
Sent: Thursday, December 20, 2007 4:47 PM
To: Struts Users Mailing List
Subject: Re: SEVERE: Error filterStart

--- Xibin Liu <Xi...@pwgsc.gc.ca> wrote:
> By playing with the filters in web.xml, I identified that the 
> following filter causes the error.
> 	<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>
> 
> Any idea?

Not without more information.

Is your struts.xml configured correctly? Are all the required libraries
in your webapp's classpath?

d.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: SEVERE: Error filterStart

Posted by Laurie Harper <la...@holoweb.net>.
Sounds like there's probably a syntax error in map.xml. Did you check 
your log files for relevant error messages?

L.

Xibin Liu wrote:
> Does not work (in struts.xml):
> 
> <struts>
>     <include file="map.xml"/>
> </struts>
> 
> But works if the package in map.xml is copy to struts.xml:
> 
> <struts>
> 
>     <package name="map" namespace="/map" extends="struts-default">
>     ....
>     </package>
> </struts>
> 
> Any idea?
> 
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com] 
> Sent: Thursday, December 20, 2007 4:47 PM
> To: Struts Users Mailing List
> Subject: Re: SEVERE: Error filterStart
> 
> --- Xibin Liu <Xi...@pwgsc.gc.ca> wrote:
>> By playing with the filters in web.xml, I identified that the 
>> following filter causes the error.
>> 	<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>
>>
>> Any idea?
> 
> Not without more information.
> 
> Is your struts.xml configured correctly? Are all the required libraries
> in your webapp's classpath?
> 
> d.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org