Skip to content

Commit

Permalink
Corrected Jetty 12x DTD doctypes
Browse files Browse the repository at this point in the history
  • Loading branch information
alitokmen authored Aug 3, 2023
1 parent e550652 commit 2bc5763
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected String createContextXml(WAR war)
StringBuilder sb = new StringBuilder();
sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
sb.append("<!DOCTYPE Configure PUBLIC \"-//Jetty//Configure//EN\" "
+ "\"http://www.eclipse.org/jetty/configure" + eeConfigure + ".dtd\">\n");
+ "\"https://eclipse.dev/jetty/configure" + eeConfigure + ".dtd\">\n");
sb.append(
"<Configure class=\"org.eclipse.jetty." + eeVersion + ".webapp.WebAppContext\">\n");
sb.append(" <Set name=\"contextPath\">/" + war.getContext() + "</Set>\n");
Expand Down

0 comments on commit 2bc5763

Please sign in to comment.