The following is the framework I have in my web.xml config file. I need help in putting it in the correct order < / P>
web.xml web-app 1. Reference Config Location App Contex. XML 2. Default HTML correctly 3. Listener 4. Servicelet 5. Filter & lt; Order Sensitive & gt; 6. Session-Config Timeout 120 7. Error Page 404 500 Update: > Update: I have a ClassNotFound exception on all your listeners in logout / localhost Receiving is not a problem since .log, only after introduction entries are indicated that something is off
I have arranged it according to the suggestions of BalusC < / Div>
only & lt; Filter-Mapping & gt; The order of the elements is relevant It would be the actual order that whenever a request URL matches url-pattern of more than one filter, then a filter can determine how the filters apply. Whether or not to continue the series. The rest of the people have no significant effect on the functioning of the webapp, and according to the order and / or which you think is the best readable / maintenance that is normally specified in DTD / XSD (if any), the order is generally as follows: Reference parameters, listeners, servlets, filters and error / welcome page.
1. Reference Config Location App Contex. XML 2. Default HTML correctly 3. Listener 4. Servicelet 5. Filter & lt; Order Sensitive & gt; 6. Session-Config Timeout 120 7. Error Page 404 500 Update: > Update: I have a ClassNotFound exception on all your listeners in logout / localhost Receiving is not a problem since .log, only after introduction entries are indicated that something is off
I have arranged it according to the suggestions of BalusC < / Div>
only & lt; Filter-Mapping & gt; The order of the elements is relevant It would be the actual order that whenever a request URL matches url-pattern of more than one filter, then a filter can determine how the filters apply. Whether or not to continue the series. The rest of the people have no significant effect on the functioning of the webapp, and according to the order and / or which you think is the best readable / maintenance that is normally specified in DTD / XSD (if any), the order is generally as follows: Reference parameters, listeners, servlets, filters and error / welcome page.
Comments
Post a Comment