Skip to content

Commit

Permalink
[MSITE-857] Jetty engine fails to resolve web.xml DTD behind corporat…
Browse files Browse the repository at this point in the history
…e proxy

Upgrade web.xml to Servlet 3.1 which Jetty will serve its schema from a bundled
catalog and avoid outbound connections.
  • Loading branch information
michael-o committed Apr 16, 2022
1 parent 522eddd commit 606a327
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/run/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >

<web-app>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<filter>
<filter-name>doxia</filter-name>
<filter-class>org.apache.maven.plugins.site.run.DoxiaFilter</filter-class>
Expand Down

0 comments on commit 606a327

Please sign in to comment.