Lines 402-408
Link Here
|
402 |
} |
402 |
} |
403 |
|
403 |
|
404 |
out.printin(VAR_EXPRESSIONFACTORY); |
404 |
out.printin(VAR_EXPRESSIONFACTORY); |
405 |
out.print(" = JspFactory.getDefaultFactory().getJspApplicationContext("); |
405 |
out.print(" = _jspxFactory.getJspApplicationContext("); |
406 |
if (ctxt.isTagFile()) { |
406 |
if (ctxt.isTagFile()) { |
407 |
out.print("config"); |
407 |
out.print("config"); |
408 |
} else { |
408 |
} else { |
Lines 477-482
Link Here
|
477 |
* preamble generation) |
477 |
* preamble generation) |
478 |
*/ |
478 |
*/ |
479 |
private void genPreambleStaticInitializers() throws JasperException { |
479 |
private void genPreambleStaticInitializers() throws JasperException { |
|
|
480 |
out.printil("private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();"); |
481 |
out.println(); |
482 |
|
480 |
// Static data for getDependants() |
483 |
// Static data for getDependants() |
481 |
out.printil("private static java.util.List _jspx_dependants;"); |
484 |
out.printil("private static java.util.List _jspx_dependants;"); |
482 |
out.println(); |
485 |
out.println(); |
Lines 594-600
Link Here
|
594 |
out.println(); |
597 |
out.println(); |
595 |
|
598 |
|
596 |
// Local variable declarations |
599 |
// Local variable declarations |
597 |
out.printil("JspFactory _jspxFactory = null;"); |
|
|
598 |
out.printil("PageContext pageContext = null;"); |
600 |
out.printil("PageContext pageContext = null;"); |
599 |
|
601 |
|
600 |
if (pageInfo.isSession()) |
602 |
if (pageInfo.isSession()) |
Lines 624-631
Link Here
|
624 |
out.printil("try {"); |
626 |
out.printil("try {"); |
625 |
out.pushIndent(); |
627 |
out.pushIndent(); |
626 |
|
628 |
|
627 |
out.printil("_jspxFactory = JspFactory.getDefaultFactory();"); |
|
|
628 |
|
629 |
out.printin("response.setContentType("); |
629 |
out.printin("response.setContentType("); |
630 |
out.print(quote(pageInfo.getContentType())); |
630 |
out.print(quote(pageInfo.getContentType())); |
631 |
out.println(");"); |
631 |
out.println(");"); |
Lines 3307-3313
Link Here
|
3307 |
out.pushIndent(); |
3307 |
out.pushIndent(); |
3308 |
|
3308 |
|
3309 |
out |
3309 |
out |
3310 |
.printil("if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);"); |
3310 |
.printil("_jspxFactory.releasePageContext(_jspx_page_context);"); |
3311 |
|
3311 |
|
3312 |
out.popIndent(); |
3312 |
out.popIndent(); |
3313 |
out.printil("}"); |
3313 |
out.printil("}"); |