tags:

views:

51

answers:

1

I want to use a global result "login". But it ony works without global-results in the configuration. This is the relevant part of my configuration:

categoryList.jsp categoryDetail.jsp /WEB-INF/login.jsp

When I start my application it throws this Exception:

org.xml.sax.SAXParseException: The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exception-mappings?,action*)".

What is wrong?

A: 

Got it! The order matters.

AntonS
You can accept your own answer too, if you like...
Ither