diff --git a/java/org/apache/jasper/JspC.java b/java/org/apache/jasper/JspC.java index afa4fde8ccdf..e553a0ec465d 100644 --- a/java/org/apache/jasper/JspC.java +++ b/java/org/apache/jasper/JspC.java @@ -328,6 +328,11 @@ public void setArgs(String[] arg) throws JasperException { if (webxmlFile != null) { webxmlLevel = INC_WEBXML; } + } else if (tok.equals(SWITCH_WEBAPP_FRG)) { + webxmlFile = nextArg(); + if (webxmlFile != null) { + webxmlLevel = FRG_WEBXML; + } } else if (tok.equals(SWITCH_WEBAPP_XML)) { webxmlFile = nextArg(); if (webxmlFile != null) { diff --git a/java/org/apache/jasper/resources/LocalStrings.properties b/java/org/apache/jasper/resources/LocalStrings.properties index fbd2c3f7b2e3..602c3eba3e9d 100644 --- a/java/org/apache/jasper/resources/LocalStrings.properties +++ b/java/org/apache/jasper/resources/LocalStrings.properties @@ -257,7 +257,7 @@ where options include:\n\ \ -uriroot Same as -webapp\n\ \ -compile Compiles generated servlets\n\ \ -webinc Creates a partial servlet mappings in the file\n\ -\ -webfrg Creates a complete web-fragment.xml the file\n\ +\ -webfrg Creates a complete web-fragment.xml file\n\ \ -webxml Creates a complete web.xml in the file\n\ \ -webxmlencoding Set the encoding charset used to read and write the web.xml\n\ \ file (default is platform default encoding)\n\ diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml index 1225fe68d0da..3b92f241a4fe 100644 --- a/webapps/docs/jasper-howto.xml +++ b/webapps/docs/jasper-howto.xml @@ -278,7 +278,7 @@ download) to precompile a webapp: