Skip to content

Commit

Permalink
Follow-up to 1831695
Browse files Browse the repository at this point in the history
kkolinko review comments

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1831721 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed May 16, 2018
1 parent acff91c commit 8b6306a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions java/org/apache/jasper/JspC.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion java/org/apache/jasper/resources/LocalStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ where options include:\n\
\ -uriroot <dir> Same as -webapp\n\
\ -compile Compiles generated servlets\n\
\ -webinc <file> Creates a partial servlet mappings in the file\n\
\ -webfrg <file> Creates a complete web-fragment.xml the file\n\
\ -webfrg <file> Creates a complete web-fragment.xml file\n\
\ -webxml <file> Creates a complete web.xml in the file\n\
\ -webxmlencoding <enc> Set the encoding charset used to read and write the web.xml\n\
\ file (default is platform default encoding)\n\
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/jasper-howto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ download) to precompile a webapp:
<jasper
validateXml="false"
uriroot="${webapp.path}"
webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
webXmlInclude="${webapp.path}/WEB-INF/generated_web.xml"
outputDir="${webapp.path}/WEB-INF/src" />
</target>
Expand Down

0 comments on commit 8b6306a

Please # to comment.