Skip to content

Commit 606a327

Browse files
committed
[MSITE-857] Jetty engine fails to resolve web.xml DTD behind corporate proxy
Upgrade web.xml to Servlet 3.1 which Jetty will serve its schema from a bundled catalog and avoid outbound connections.
1 parent 522eddd commit 606a327

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/resources/run/web.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ specific language governing permissions and limitations
1717
under the License.
1818
-->
1919

20-
<!DOCTYPE web-app PUBLIC
21-
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
22-
"http://java.sun.com/dtd/web-app_2_3.dtd" >
23-
24-
<web-app>
20+
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
23+
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
24+
version="3.1">
2525
<filter>
2626
<filter-name>doxia</filter-name>
2727
<filter-class>org.apache.maven.plugins.site.run.DoxiaFilter</filter-class>

0 commit comments

Comments
 (0)