This is very important to XML validation where to put this code:
1
in web.xml during Java/Spring development.
More infor will be later.
This is bad when we have :
Cause we have XML validation warring:
Checking file:/…../web/WEB-INF/web.xml…
cvc-complex-type.2.4.a: Invalid content was found starting with element ‘init-param’. One of ‘{“http://java.sun.com/xml/ns/j2ee”:run-as, “http://java.sun.com/xml/ns/j2ee”:security-role-ref}’ is expected.
And this is bad markup:
spring-ws
org.springframework.ws.transport.http.MessageDispatcherServlet
1
transformWsdlLocationstrue
This is good:
spring-ws
org.springframework.ws.transport.http.MessageDispatcherServlet
transformWsdlLocationstrue
1