View | Details | Raw Unified | Return to bug 62662
Collapse All | Expand All

(-)a/java/org/apache/jasper/JspC.java (-12 / +14 lines)
Lines 1167-1185 public class JspC extends Task implements Options { Link Here
1167
        }
1167
        }
1168
1168
1169
        if (servletout != null) {
1169
        if (servletout != null) {
1170
            servletout.write("\n    <servlet>\n        <servlet-name>");
1170
            synchronized(servletout) {
1171
            servletout.write(thisServletName);
1171
                servletout.write("\n    <servlet>\n        <servlet-name>");
1172
            servletout.write("</servlet-name>\n        <servlet-class>");
1172
                servletout.write(thisServletName);
1173
            servletout.write(thisServletName);
1173
                servletout.write("</servlet-name>\n        <servlet-class>");
1174
            servletout.write("</servlet-class>\n    </servlet>\n");
1174
                servletout.write(thisServletName);
1175
                servletout.write("</servlet-class>\n    </servlet>\n");
1176
            }
1175
        }
1177
        }
1176
        if (mappingout != null) {
1178
        if (mappingout != null) {
1177
            mappingout.write("\n    <servlet-mapping>\n        <servlet-name>");
1179
            synchronized(mappingout) {
1178
            mappingout.write(thisServletName);
1180
                mappingout.write("\n    <servlet-mapping>\n        <servlet-name>");
1179
            mappingout.write("</servlet-name>\n        <url-pattern>");
1181
                mappingout.write(thisServletName);
1180
            mappingout.write(file.replace('\\', '/'));
1182
                mappingout.write("</servlet-name>\n        <url-pattern>");
1181
            mappingout.write("</url-pattern>\n    </servlet-mapping>\n");
1183
                mappingout.write(file.replace('\\', '/'));
1182
1184
                mappingout.write("</url-pattern>\n    </servlet-mapping>\n");
1185
            }
1183
        }
1186
        }
1184
    }
1187
    }
1185
1188
1186
- 

Return to bug 62662