struts.xml parsing error, involving interceptor

2010-09-27 Thread Ken
This has been driving me nuts... The following works in my code (typed by hand not copied from source): struts !-- If I add the missing content (found below) HERE, then this does NOT work -- package namespace=/secure name=secure extends=struts-default result-types

Re: struts.xml parsing error, involving interceptor

2010-09-27 Thread Dave Newton
Well, no, you need to follow the DTD. Dave On Mon, Sep 27, 2010 at 7:52 PM, Ken ken.mcwilli...@aerose.com wrote: This has been driving me nuts... The following works in my code (typed by hand not copied from source): struts !-- If I add the missing content (found below) HERE, then this

Re: struts.xml parsing error, involving interceptor

2010-09-27 Thread Li Ying
Hi Ken: In the DTD file, it is defined: !ELEMENT package (result-types?, interceptors?, default-interceptor-ref?, default-action-ref?, default-class-ref?, global-results?, global-exception-mappings?, action*) That means, you should add the definition of interceptor as children nodes of the