/usr/share/doc/libservlet3.1-java/api/javax/servlet/jsp/PageContext.html is in libservlet3.1-java-doc 8.0.32-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html>
<head>
<!-- Generated by javadoc -->
<title>PageContext (Tomcat API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PageContext (Tomcat API Documentation)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":10,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":10,"i15":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../javax/servlet/jsp/SkipPageException.html" title="class in javax.servlet.jsp"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/servlet/jsp/PageContext.html" target="_top">Frames</a></li>
<li><a href="PageContext.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javax.servlet.jsp</div>
<h2 title="Class PageContext" class="title">Class PageContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../javax/servlet/jsp/JspContext.html" title="class in javax.servlet.jsp">javax.servlet.jsp.JspContext</a></li>
<li>
<ul class="inheritance">
<li>javax.servlet.jsp.PageContext</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">PageContext</span>
extends <a href="../../../javax/servlet/jsp/JspContext.html" title="class in javax.servlet.jsp">JspContext</a></pre>
<div class="block"><p>
PageContext extends JspContext to provide useful context information for
when JSP technology is used in a Servlet environment.
<p>
A PageContext instance provides access to all the namespaces associated
with a JSP page, provides access to several page attributes, as well as
a layer above the implementation details. Implicit objects are added
to the pageContext automatically.
<p> The <code> PageContext </code> class is an abstract class, designed to be
extended to provide implementation dependent implementations thereof, by
conformant JSP engine runtime environments. A PageContext instance is
obtained by a JSP implementation class by calling the
JspFactory.getPageContext() method, and is released by calling
JspFactory.releasePageContext().
<p> An example of how PageContext, JspFactory, and other classes can be
used within a JSP Page Implementation object is given elsewhere.
<p>
The PageContext provides a number of facilities to the page/component
author and page implementor, including:
<ul>
<li>a single API to manage the various scoped namespaces
<li>a number of convenience API's to access various public objects
<li>a mechanism to obtain the JspWriter for output
<li>a mechanism to manage session usage by the page
<li>a mechanism to expose page directive attributes to the scripting
environment
<li>mechanisms to forward or include the current request to other active
components in the application
<li>a mechanism to handle errorpage exception processing
</ul>
<p><B>Methods Intended for Container Generated Code</B>
<p>Some methods are intended to be used by the code generated by the
container, not by code written by JSP page authors, or JSP tag library
authors.
<p>The methods supporting <B>lifecycle</B> are <code>initialize()</code>
and <code>release()</code>
<p>
The following methods enable the <B>management of nested</B> JspWriter
streams to implement Tag Extensions: <code>pushBody()</code>
<p><B>Methods Intended for JSP authors</B>
<p>
The following methods provide <B>convenient access</B> to implicit objects:
<code>getException()</code>, <code>getPage()</code>
<code>getRequest()</code>, <code>getResponse()</code>,
<code>getSession()</code>, <code>getServletConfig()</code>
and <code>getServletContext()</code>.
<p>
The following methods provide support for <B>forwarding, inclusion
and error handling</B>:
<code>forward()</code>, <code>include()</code>,
and <code>handlePageException()</code>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#APPLICATION">APPLICATION</a></span></code>
<div class="block">Name used to store ServletContext in PageContext name table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#APPLICATION_SCOPE">APPLICATION_SCOPE</a></span></code>
<div class="block">Application scope: named reference remains available in the
ServletContext until it is reclaimed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#CONFIG">CONFIG</a></span></code>
<div class="block">Name used to store ServletConfig in PageContext name table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#EXCEPTION">EXCEPTION</a></span></code>
<div class="block">Name used to store uncaught exception in ServletRequest attribute
list and PageContext name table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#OUT">OUT</a></span></code>
<div class="block">Name used to store current JspWriter in PageContext name table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#PAGE">PAGE</a></span></code>
<div class="block">Name used to store the Servlet in this PageContext's nametables.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#PAGE_SCOPE">PAGE_SCOPE</a></span></code>
<div class="block">Page scope: (this is the default) the named reference remains available
in this PageContext until the return from the current Servlet.service()
invocation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#PAGECONTEXT">PAGECONTEXT</a></span></code>
<div class="block">Name used to store this PageContext in it's own name table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#REQUEST">REQUEST</a></span></code>
<div class="block">Name used to store ServletRequest in PageContext name table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#REQUEST_SCOPE">REQUEST_SCOPE</a></span></code>
<div class="block">Request scope: the named reference remains available from the
ServletRequest associated with the Servlet until the current request
is completed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#RESPONSE">RESPONSE</a></span></code>
<div class="block">Name used to store ServletResponse in PageContext name table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#SESSION">SESSION</a></span></code>
<div class="block">Name used to store HttpSession in PageContext name table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#SESSION_SCOPE">SESSION_SCOPE</a></span></code>
<div class="block">Session scope (only valid if this page participates in a session):
the named reference remains available from the HttpSession (if any)
associated with the Servlet until the HttpSession is invalidated.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#PageContext--">PageContext</a></span>()</code>
<div class="block">Sole constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#forward-java.lang.String-">forward</a></span>(java.lang.String relativeUrlPath)</code>
<div class="block">
This method is used to re-direct, or "forward" the current
ServletRequest and ServletResponse to another active component in
the application.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../javax/servlet/jsp/ErrorData.html" title="class in javax.servlet.jsp">ErrorData</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getErrorData--">getErrorData</a></span>()</code>
<div class="block">Provides convenient access to error information.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract java.lang.Exception</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getException--">getException</a></span>()</code>
<div class="block">The current value of the exception object (an Exception).</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getPage--">getPage</a></span>()</code>
<div class="block">The current value of the page object (In a Servlet environment,
this is an instance of javax.servlet.Servlet).</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../javax/servlet/ServletRequest.html" title="interface in javax.servlet">ServletRequest</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getRequest--">getRequest</a></span>()</code>
<div class="block">The current value of the request object (a ServletRequest).</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getResponse--">getResponse</a></span>()</code>
<div class="block">The current value of the response object (a ServletResponse).</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../javax/servlet/ServletConfig.html" title="interface in javax.servlet">ServletConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getServletConfig--">getServletConfig</a></span>()</code>
<div class="block">The ServletConfig instance.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../javax/servlet/ServletContext.html" title="interface in javax.servlet">ServletContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getServletContext--">getServletContext</a></span>()</code>
<div class="block">The ServletContext instance.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../javax/servlet/http/HttpSession.html" title="interface in javax.servlet.http">HttpSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#getSession--">getSession</a></span>()</code>
<div class="block">The current value of the session object (an HttpSession).</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#handlePageException-java.lang.Exception-">handlePageException</a></span>(java.lang.Exception e)</code>
<div class="block">
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#handlePageException-java.lang.Throwable-">handlePageException</a></span>(java.lang.Throwable t)</code>
<div class="block">
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#include-java.lang.String-">include</a></span>(java.lang.String relativeUrlPath)</code>
<div class="block">
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#include-java.lang.String-boolean-">include</a></span>(java.lang.String relativeUrlPath,
boolean flush)</code>
<div class="block">
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#initialize-javax.servlet.Servlet-javax.servlet.ServletRequest-javax.servlet.ServletResponse-java.lang.String-boolean-int-boolean-">initialize</a></span>(<a href="../../../javax/servlet/Servlet.html" title="interface in javax.servlet">Servlet</a> servlet,
<a href="../../../javax/servlet/ServletRequest.html" title="interface in javax.servlet">ServletRequest</a> request,
<a href="../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)</code>
<div class="block">
The initialize method is called to initialize an uninitialized PageContext
so that it may be used by a JSP Implementation class to service an
incoming request and response within it's _jspService() method.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../javax/servlet/jsp/tagext/BodyContent.html" title="class in javax.servlet.jsp.tagext">BodyContent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#pushBody--">pushBody</a></span>()</code>
<div class="block">Return a new BodyContent object, save the current "out" JspWriter,
and update the value of the "out" attribute in the page scope
attribute namespace of the PageContext.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/servlet/jsp/PageContext.html#release--">release</a></span>()</code>
<div class="block">
This method shall "reset" the internal state of a PageContext, releasing
all internal references, and preparing the PageContext for potential
reuse by a later invocation of initialize().</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.servlet.jsp.JspContext">
<!-- -->
</a>
<h3>Methods inherited from class javax.servlet.jsp.<a href="../../../javax/servlet/jsp/JspContext.html" title="class in javax.servlet.jsp">JspContext</a></h3>
<code><a href="../../../javax/servlet/jsp/JspContext.html#findAttribute-java.lang.String-">findAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getAttribute-java.lang.String-">getAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getAttribute-java.lang.String-int-">getAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getAttributeNamesInScope-int-">getAttributeNamesInScope</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getAttributesScope-java.lang.String-">getAttributesScope</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getELContext--">getELContext</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getExpressionEvaluator--">getExpressionEvaluator</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getOut--">getOut</a>, <a href="../../../javax/servlet/jsp/JspContext.html#getVariableResolver--">getVariableResolver</a>, <a href="../../../javax/servlet/jsp/JspContext.html#popBody--">popBody</a>, <a href="../../../javax/servlet/jsp/JspContext.html#pushBody-java.io.Writer-">pushBody</a>, <a href="../../../javax/servlet/jsp/JspContext.html#removeAttribute-java.lang.String-">removeAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#removeAttribute-java.lang.String-int-">removeAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#setAttribute-java.lang.String-java.lang.Object-">setAttribute</a>, <a href="../../../javax/servlet/jsp/JspContext.html#setAttribute-java.lang.String-java.lang.Object-int-">setAttribute</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PAGE_SCOPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PAGE_SCOPE</h4>
<pre>public static final int PAGE_SCOPE</pre>
<div class="block">Page scope: (this is the default) the named reference remains available
in this PageContext until the return from the current Servlet.service()
invocation.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.PAGE_SCOPE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="REQUEST_SCOPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REQUEST_SCOPE</h4>
<pre>public static final int REQUEST_SCOPE</pre>
<div class="block">Request scope: the named reference remains available from the
ServletRequest associated with the Servlet until the current request
is completed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.REQUEST_SCOPE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SESSION_SCOPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SESSION_SCOPE</h4>
<pre>public static final int SESSION_SCOPE</pre>
<div class="block">Session scope (only valid if this page participates in a session):
the named reference remains available from the HttpSession (if any)
associated with the Servlet until the HttpSession is invalidated.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.SESSION_SCOPE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION_SCOPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION_SCOPE</h4>
<pre>public static final int APPLICATION_SCOPE</pre>
<div class="block">Application scope: named reference remains available in the
ServletContext until it is reclaimed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.APPLICATION_SCOPE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PAGE</h4>
<pre>public static final java.lang.String PAGE</pre>
<div class="block">Name used to store the Servlet in this PageContext's nametables.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.PAGE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PAGECONTEXT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PAGECONTEXT</h4>
<pre>public static final java.lang.String PAGECONTEXT</pre>
<div class="block">Name used to store this PageContext in it's own name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.PAGECONTEXT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="REQUEST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REQUEST</h4>
<pre>public static final java.lang.String REQUEST</pre>
<div class="block">Name used to store ServletRequest in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.REQUEST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="RESPONSE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESPONSE</h4>
<pre>public static final java.lang.String RESPONSE</pre>
<div class="block">Name used to store ServletResponse in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.RESPONSE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CONFIG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONFIG</h4>
<pre>public static final java.lang.String CONFIG</pre>
<div class="block">Name used to store ServletConfig in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.CONFIG">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SESSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SESSION</h4>
<pre>public static final java.lang.String SESSION</pre>
<div class="block">Name used to store HttpSession in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.SESSION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="OUT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OUT</h4>
<pre>public static final java.lang.String OUT</pre>
<div class="block">Name used to store current JspWriter in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.OUT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="APPLICATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>APPLICATION</h4>
<pre>public static final java.lang.String APPLICATION</pre>
<div class="block">Name used to store ServletContext in PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.APPLICATION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="EXCEPTION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EXCEPTION</h4>
<pre>public static final java.lang.String EXCEPTION</pre>
<div class="block">Name used to store uncaught exception in ServletRequest attribute
list and PageContext name table.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#javax.servlet.jsp.PageContext.EXCEPTION">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="PageContext--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PageContext</h4>
<pre>public PageContext()</pre>
<div class="block">Sole constructor. (For invocation by subclass constructors,
typically implicit.)</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="initialize-javax.servlet.Servlet-javax.servlet.ServletRequest-javax.servlet.ServletResponse-java.lang.String-boolean-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialize</h4>
<pre>public abstract void initialize(<a href="../../../javax/servlet/Servlet.html" title="interface in javax.servlet">Servlet</a> servlet,
<a href="../../../javax/servlet/ServletRequest.html" title="interface in javax.servlet">ServletRequest</a> request,
<a href="../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> response,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
throws java.io.IOException,
java.lang.IllegalStateException,
java.lang.IllegalArgumentException</pre>
<div class="block"><p>
The initialize method is called to initialize an uninitialized PageContext
so that it may be used by a JSP Implementation class to service an
incoming request and response within it's _jspService() method.
<p>
This method is typically called from JspFactory.getPageContext() in
order to initialize state.
<p>
This method is required to create an initial JspWriter, and associate
the "out" name in page scope with this newly created object.
<p>
This method should not be used by page or tag library authors.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>servlet</code> - The Servlet that is associated with this PageContext</dd>
<dd><code>request</code> - The currently pending request for this Servlet</dd>
<dd><code>response</code> - The currently pending response for this Servlet</dd>
<dd><code>errorPageURL</code> - The value of the errorpage attribute from the page
directive or null</dd>
<dd><code>needsSession</code> - The value of the session attribute from the
page directive</dd>
<dd><code>bufferSize</code> - The value of the buffer attribute from the page
directive</dd>
<dd><code>autoFlush</code> - The value of the autoflush attribute from the page
directive</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - during creation of JspWriter</dd>
<dd><code>java.lang.IllegalStateException</code> - if out not correctly initialized</dd>
<dd><code>java.lang.IllegalArgumentException</code> - If one of the given parameters
is invalid</dd>
</dl>
</li>
</ul>
<a name="release--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
<pre>public abstract void release()</pre>
<div class="block"><p>
This method shall "reset" the internal state of a PageContext, releasing
all internal references, and preparing the PageContext for potential
reuse by a later invocation of initialize(). This method is typically
called from JspFactory.releasePageContext().
<p>
Subclasses shall envelope this method.
<p>
This method should not be used by page or tag library authors.</div>
</li>
</ul>
<a name="getSession--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
<pre>public abstract <a href="../../../javax/servlet/http/HttpSession.html" title="interface in javax.servlet.http">HttpSession</a> getSession()</pre>
<div class="block">The current value of the session object (an HttpSession).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the HttpSession for this PageContext or null</dd>
</dl>
</li>
</ul>
<a name="getPage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPage</h4>
<pre>public abstract java.lang.Object getPage()</pre>
<div class="block">The current value of the page object (In a Servlet environment,
this is an instance of javax.servlet.Servlet).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the Page implementation class instance associated
with this PageContext</dd>
</dl>
</li>
</ul>
<a name="getRequest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRequest</h4>
<pre>public abstract <a href="../../../javax/servlet/ServletRequest.html" title="interface in javax.servlet">ServletRequest</a> getRequest()</pre>
<div class="block">The current value of the request object (a ServletRequest).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The ServletRequest for this PageContext</dd>
</dl>
</li>
</ul>
<a name="getResponse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponse</h4>
<pre>public abstract <a href="../../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a> getResponse()</pre>
<div class="block">The current value of the response object (a ServletResponse).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ServletResponse for this PageContext</dd>
</dl>
</li>
</ul>
<a name="getException--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getException</h4>
<pre>public abstract java.lang.Exception getException()</pre>
<div class="block">The current value of the exception object (an Exception).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>any exception passed to this as an errorpage</dd>
</dl>
</li>
</ul>
<a name="getServletConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServletConfig</h4>
<pre>public abstract <a href="../../../javax/servlet/ServletConfig.html" title="interface in javax.servlet">ServletConfig</a> getServletConfig()</pre>
<div class="block">The ServletConfig instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ServletConfig for this PageContext</dd>
</dl>
</li>
</ul>
<a name="getServletContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServletContext</h4>
<pre>public abstract <a href="../../../javax/servlet/ServletContext.html" title="interface in javax.servlet">ServletContext</a> getServletContext()</pre>
<div class="block">The ServletContext instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ServletContext for this PageContext</dd>
</dl>
</li>
</ul>
<a name="forward-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forward</h4>
<pre>public abstract void forward(java.lang.String relativeUrlPath)
throws <a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a>,
java.io.IOException</pre>
<div class="block"><p>
This method is used to re-direct, or "forward" the current
ServletRequest and ServletResponse to another active component in
the application.
</p>
<p>
If the <I> relativeUrlPath </I> begins with a "/" then the URL specified
is calculated relative to the DOCROOT of the <code> ServletContext </code>
for this JSP. If the path does not begin with a "/" then the URL
specified is calculated relative to the URL of the request that was
mapped to the calling JSP.
</p>
<p>
It is only valid to call this method from a <code> Thread </code>
executing within a <code> _jspService(...) </code> method of a JSP.
</p>
<p>
Once this method has been called successfully, it is illegal for the
calling <code> Thread </code> to attempt to modify the <code>
ServletResponse </code> object. Any such attempt to do so, shall result
in undefined behavior. Typically, callers immediately return from
<code> _jspService(...) </code> after calling this method.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>relativeUrlPath</code> - specifies the relative URL path to the target
resource as described above</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalStateException</code> - if <code> ServletResponse </code> is not
in a state where a forward can be performed</dd>
<dd><code><a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a></code> - if the page that was forwarded to throws
a ServletException</dd>
<dd><code>java.io.IOException</code> - if an I/O error occurred while forwarding</dd>
</dl>
</li>
</ul>
<a name="include-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>include</h4>
<pre>public abstract void include(java.lang.String relativeUrlPath)
throws <a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a>,
java.io.IOException</pre>
<div class="block"><p>
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.
The output of the target resources processing of the request is written
directly to the ServletResponse output stream.
</p>
<p>
The current JspWriter "out" for this JSP is flushed as a side-effect
of this call, prior to processing the include.
</p>
<p>
If the <I> relativeUrlPath </I> begins with a "/" then the URL specified
is calculated relative to the DOCROOT of the <code>ServletContext</code>
for this JSP. If the path does not begin with a "/" then the URL
specified is calculated relative to the URL of the request that was
mapped to the calling JSP.
</p>
<p>
It is only valid to call this method from a <code> Thread </code>
executing within a <code> _jspService(...) </code> method of a JSP.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>relativeUrlPath</code> - specifies the relative URL path to the target
resource to be included</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a></code> - if the page that was forwarded to throws
a ServletException</dd>
<dd><code>java.io.IOException</code> - if an I/O error occurred while forwarding</dd>
</dl>
</li>
</ul>
<a name="include-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>include</h4>
<pre>public abstract void include(java.lang.String relativeUrlPath,
boolean flush)
throws <a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a>,
java.io.IOException</pre>
<div class="block"><p>
Causes the resource specified to be processed as part of the current
ServletRequest and ServletResponse being processed by the calling Thread.
The output of the target resources processing of the request is written
directly to the current JspWriter returned by a call to getOut().
</p>
<p>
If flush is true, The current JspWriter "out" for this JSP
is flushed as a side-effect of this call, prior to processing
the include. Otherwise, the JspWriter "out" is not flushed.
</p>
<p>
If the <i>relativeUrlPath</i> begins with a "/" then the URL specified
is calculated relative to the DOCROOT of the <code>ServletContext</code>
for this JSP. If the path does not begin with a "/" then the URL
specified is calculated relative to the URL of the request that was
mapped to the calling JSP.
</p>
<p>
It is only valid to call this method from a <code> Thread </code>
executing within a <code> _jspService(...) </code> method of a JSP.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>relativeUrlPath</code> - specifies the relative URL path to the
target resource to be included</dd>
<dd><code>flush</code> - True if the JspWriter is to be flushed before the include,
or false if not.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a></code> - if the page that was forwarded to throws
a ServletException</dd>
<dd><code>java.io.IOException</code> - if an I/O error occurred while forwarding</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
<a name="handlePageException-java.lang.Exception-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handlePageException</h4>
<pre>public abstract void handlePageException(java.lang.Exception e)
throws <a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a>,
java.io.IOException</pre>
<div class="block"><p>
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP. If forwarding is not possible (for
example because the response has already been committed), an
implementation dependent mechanism should be used to invoke
the error page (e.g. "including" the error page instead).
<p>
If no error page is defined in the page, the exception should
be rethrown so that the standard servlet error handling
takes over.
<p>
A JSP implementation class shall typically clean up any local state
prior to invoking this and will return immediately thereafter. It is
illegal to generate any output to the client, or to modify any
ServletResponse state after invoking this call.
<p>
This method is kept for backwards compatibility reasons. Newly
generated code should use PageContext.handlePageException(Throwable).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - the exception to be handled</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a></code> - if an error occurs while invoking the error page</dd>
<dd><code>java.io.IOException</code> - if an I/O error occurred while invoking the error
page</dd>
<dd><code>java.lang.NullPointerException</code> - if the exception is null</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javax/servlet/jsp/PageContext.html#handlePageException-java.lang.Throwable-"><code>handlePageException(Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="handlePageException-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handlePageException</h4>
<pre>public abstract void handlePageException(java.lang.Throwable t)
throws <a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a>,
java.io.IOException</pre>
<div class="block"><p>
This method is intended to process an unhandled 'page' level
exception by forwarding the exception to the specified
error page for this JSP. If forwarding is not possible (for
example because the response has already been committed), an
implementation dependent mechanism should be used to invoke
the error page (e.g. "including" the error page instead).
<p>
If no error page is defined in the page, the exception should
be rethrown so that the standard servlet error handling
takes over.
<p>
This method is intended to process an unhandled "page" level exception
by redirecting the exception to either the specified error page for this
JSP, or if none was specified, to perform some implementation dependent
action.
<p>
A JSP implementation class shall typically clean up any local state
prior to invoking this and will return immediately thereafter. It is
illegal to generate any output to the client, or to modify any
ServletResponse state after invoking this call.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>t</code> - the throwable to be handled</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../javax/servlet/ServletException.html" title="class in javax.servlet">ServletException</a></code> - if an error occurs while invoking the error page</dd>
<dd><code>java.io.IOException</code> - if an I/O error occurred while invoking the error
page</dd>
<dd><code>java.lang.NullPointerException</code> - if the exception is null</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javax/servlet/jsp/PageContext.html#handlePageException-java.lang.Exception-"><code>handlePageException(Exception)</code></a></dd>
</dl>
</li>
</ul>
<a name="pushBody--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pushBody</h4>
<pre>public <a href="../../../javax/servlet/jsp/tagext/BodyContent.html" title="class in javax.servlet.jsp.tagext">BodyContent</a> pushBody()</pre>
<div class="block">Return a new BodyContent object, save the current "out" JspWriter,
and update the value of the "out" attribute in the page scope
attribute namespace of the PageContext.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the new BodyContent</dd>
</dl>
</li>
</ul>
<a name="getErrorData--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getErrorData</h4>
<pre>public <a href="../../../javax/servlet/jsp/ErrorData.html" title="class in javax.servlet.jsp">ErrorData</a> getErrorData()</pre>
<div class="block">Provides convenient access to error information.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an ErrorData instance containing information about the
error, as obtained from the request attributes, as per the
Servlet specification. If this is not an error page (that is,
if the isErrorPage attribute of the page directive is not set
to "true"), the information is meaningless.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/servlet/jsp/JspWriter.html" title="class in javax.servlet.jsp"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../javax/servlet/jsp/SkipPageException.html" title="class in javax.servlet.jsp"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/servlet/jsp/PageContext.html" target="_top">Frames</a></li>
<li><a href="PageContext.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>
|