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 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 22 03:43:58 EDT 2003 -->
<TITLE>
RequestUtils (Apache Struts API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.struts.util.RequestUtils,RequestUtils class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="RequestUtils (Apache Struts API Documentation)";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RequestUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/struts/util/PropertyMessageResourcesFactory.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/util/ResponseUtils.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="RequestUtils.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.struts.util</FONT>
<BR>
Class RequestUtils</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.struts.util.RequestUtils</B>
</PRE>
<HR>
<DL>
<DT>public class <B>RequestUtils</B><DT>extends java.lang.Object</DL>
<P>
General purpose utility methods related to processing a servlet request
in the Struts controller framework.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision: 1.1 $ $Date: 2003-08-22 09:43:31 +0100 (Fri, 22 Aug 2003) $</DD>
<DT><B>Author:</B></DT>
<DD>Craig R. McClanahan, Ted Husted, James Turner, David Graham</DD>
</DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.lang.reflect.Method</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#encode">encode</A></B></CODE>
<BR>
Java 1.4 encode method to use instead of deprecated 1.3 version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#log">log</A></B></CODE>
<BR>
Commons Logging instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#messages">messages</A></B></CODE>
<BR>
The message resources for this package.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#PREFIXES_KEY">PREFIXES_KEY</A></B></CODE>
<BR>
The context attribute under which we store our prefixes list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#scopes">scopes</A></B></CODE>
<BR>
Maps lowercase JSP scope names to their PageContext integer constant values.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#RequestUtils()">RequestUtils</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.net.URL</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#absoluteURL(javax.servlet.http.HttpServletRequest, java.lang.String)">absoluteURL</A></B>(javax.servlet.http.HttpServletRequest request,
java.lang.String path)</CODE>
<BR>
Create and return an absolute URL for the specified context-relative
path, based on the server and context information in the specified
request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#actionURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ActionConfig, java.lang.String)">actionURL</A></B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> action,
java.lang.String pattern)</CODE>
<BR>
Return the context-relative URL that corresponds to the specified
<A HREF="../../../../org/apache/struts/config/ActionConfig.html"><CODE>ActionConfig</CODE></A>, relative to the module associated
with the current modules's <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.Class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#applicationClass(java.lang.String)">applicationClass</A></B>(java.lang.String className)</CODE>
<BR>
Return the <code>Class</code> object for the specified fully qualified
class name, from this web application's class loader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#applicationInstance(java.lang.String)">applicationInstance</A></B>(java.lang.String className)</CODE>
<BR>
Return a new instance of the specified fully qualified class name,
after loading the class from this web application's class loader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeParameters(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">computeParameters</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramId,
java.lang.String paramName,
java.lang.String paramProperty,
java.lang.String paramScope,
java.lang.String name,
java.lang.String property,
java.lang.String scope,
boolean transaction)</CODE>
<BR>
Compute a set of query parameters that will be dynamically added to
a generated URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.util.Map params,
java.lang.String anchor,
boolean redirect)</CODE>
<BR>
<B>Deprecated.</B> <I>To be removed in Version 1.3.
Use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><CODE>computeURL(PageContext, String, String, String, String, Map, String, boolean)</CODE></A> instead.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.lang.String action,
java.util.Map params,
java.lang.String anchor,
boolean redirect)</CODE>
<BR>
Compute a hyperlink URL based on the <code>forward</code>,
<code>href</code>, <code>action</code> or <code>page</code> parameter
that is not null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean, boolean)">computeURL</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.lang.String action,
java.util.Map params,
java.lang.String anchor,
boolean redirect,
boolean encodeSeparator)</CODE>
<BR>
Compute a hyperlink URL based on the <code>forward</code>,
<code>href</code>, <code>action</code> or <code>page</code> parameter
that is not null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#createActionForm(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMapping, org.apache.struts.config.ModuleConfig, org.apache.struts.action.ActionServlet)">createActionForm</A></B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
<A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> moduleConfig,
<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet)</CODE>
<BR>
Create (if necessary) and return an ActionForm instance appropriate
for this request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#encodeURL(java.lang.String)">encodeURL</A></B>(java.lang.String url)</CODE>
<BR>
Use the new URLEncoder.encode() method from java 1.4 if available, else
use the old deprecated version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#forwardURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ForwardConfig)">forwardURL</A></B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> forward)</CODE>
<BR>
Return the context-relative URL that corresponds to the specified
ForwardConfig.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/action/ActionErrors.html">ActionErrors</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionErrors(javax.servlet.jsp.PageContext, java.lang.String)">getActionErrors</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)</CODE>
<BR>
Retrieves the value from request scope and if it isn't already an <code>ErrorMessages</code>
some classes are converted to one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMappingName(java.lang.String)">getActionMappingName</A></B>(java.lang.String action)</CODE>
<BR>
Return the form action converted into an action mapping path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMappingURL(java.lang.String, javax.servlet.jsp.PageContext)">getActionMappingURL</A></B>(java.lang.String action,
javax.servlet.jsp.PageContext pageContext)</CODE>
<BR>
Return the form action converted into a server-relative URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getActionMessages(javax.servlet.jsp.PageContext, java.lang.String)">getActionMessages</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)</CODE>
<BR>
Retrieves the value from request scope and if it isn't already an <code>ActionMessages</code>
some classes are converted to one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getAllParametersForMultipartRequest(javax.servlet.http.HttpServletRequest, org.apache.struts.upload.MultipartRequestHandler)">getAllParametersForMultipartRequest</A></B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> multipartHandler)</CODE>
<BR>
Create a map containing all of the parameters supplied for a multipart
request, keyed by parameter name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getApplicationPrefixes(javax.servlet.ServletContext)">getApplicationPrefixes</A></B>(javax.servlet.ServletContext context)</CODE>
<BR>
<B>Deprecated.</B> <I>Use getModulePrefixes(ServletContext) instead.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleConfig(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">getModuleConfig</A></B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
Return the ModuleConfig object is it exists, null otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleConfig(javax.servlet.jsp.PageContext)">getModuleConfig</A></B>(javax.servlet.jsp.PageContext pageContext)</CODE>
<BR>
Return the ModuleConfig object if it exists, null if otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleName(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">getModuleName</A></B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
Get the module name to which the specified request belong.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModuleName(java.lang.String, javax.servlet.ServletContext)">getModuleName</A></B>(java.lang.String matchPath,
javax.servlet.ServletContext context)</CODE>
<BR>
Get the module name to which the specified uri belong.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getModulePrefixes(javax.servlet.ServletContext)">getModulePrefixes</A></B>(javax.servlet.ServletContext context)</CODE>
<BR>
Return the list of module prefixes that are defined for
this web application, creating it if necessary.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getMultipartHandler(javax.servlet.http.HttpServletRequest)">getMultipartHandler</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Try to locate a multipart request handler for this request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getRequestModuleConfig(javax.servlet.http.HttpServletRequest)">getRequestModuleConfig</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Return the current ModuleConfig object stored in request, if it exists,
null otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#getScope(java.lang.String)">getScope</A></B>(java.lang.String scopeName)</CODE>
<BR>
Converts the scope name into its corresponding PageContext constant value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#isXhtml(javax.servlet.jsp.PageContext)">isXhtml</A></B>(javax.servlet.jsp.PageContext pageContext)</CODE>
<BR>
Returns true if the custom tags are in XHTML mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String)">lookup</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String name,
java.lang.String scopeName)</CODE>
<BR>
Locate and return the specified bean, from an optionally specified
scope, in the specified page context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">lookup</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String name,
java.lang.String property,
java.lang.String scope)</CODE>
<BR>
Locate and return the specified property of the specified bean, from
an optionally specified scope, in the specified page context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">message</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key)</CODE>
<BR>
Look up and return a message string, based on the specified parameters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])">message</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key,
java.lang.Object[] args)</CODE>
<BR>
Look up and return a message string, based on the specified parameters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#pageURL(javax.servlet.http.HttpServletRequest, java.lang.String)">pageURL</A></B>(javax.servlet.http.HttpServletRequest request,
java.lang.String page)</CODE>
<BR>
Return the context-relative URL that corresponds to the specified
<code>page</code> attribute value, calculated based on the
<code>pagePattern</code> property of the current module's
<A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#populate(java.lang.Object, javax.servlet.http.HttpServletRequest)">populate</A></B>(java.lang.Object bean,
javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Populate the properties of the specified JavaBean from the specified
HTTP request, based on matching each parameter name against the
corresponding JavaBeans "property setter" methods in the bean's class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#populate(java.lang.Object, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)">populate</A></B>(java.lang.Object bean,
java.lang.String prefix,
java.lang.String suffix,
javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Populate the properties of the specified JavaBean from the specified
HTTP request, based on matching each parameter name (plus an optional
prefix and/or suffix) against the corresponding JavaBeans "property
setter" methods in the bean's class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#present(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)">present</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key)</CODE>
<BR>
Return true if a message string for the specified message key
is present for the specified Locale.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#printableURL(java.net.URL)">printableURL</A></B>(java.net.URL url)</CODE>
<BR>
Compute the printable representation of a URL, leaving off the
scheme/host/port part if no host is specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.net.URL</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#requestURL(javax.servlet.http.HttpServletRequest)">requestURL</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Return the URL representing the current request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#retrieveMessageResources(javax.servlet.jsp.PageContext, java.lang.String, boolean)">retrieveMessageResources</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
boolean checkPageScope)</CODE>
<BR>
Returns the appropriate MessageResources object for the current module and
the given bundle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.util.Locale</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#retrieveUserLocale(javax.servlet.jsp.PageContext, java.lang.String)">retrieveUserLocale</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String locale)</CODE>
<BR>
Look up and return current user locale, based on the specified parameters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#saveException(javax.servlet.jsp.PageContext, java.lang.Throwable)">saveException</A></B>(javax.servlet.jsp.PageContext pageContext,
java.lang.Throwable exception)</CODE>
<BR>
Save the specified exception as a request attribute for later use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectApplication(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectApplication</A></B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
<B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest,ServletContext)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectApplication(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectApplication</A></B>(java.lang.String prefix,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
<B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(String,HttpServletRequest,ServletContext)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectModule</A></B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
Select the module to which the specified request belongs, and
add corresponding request attributes to this request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)">selectModule</A></B>(java.lang.String prefix,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</CODE>
<BR>
Select the module to which the specified request belongs, and
add corresponding request attributes to this request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.net.URL</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/util/RequestUtils.html#serverURL(javax.servlet.http.HttpServletRequest)">serverURL</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Return the URL representing the scheme, server, and port number of
the current request.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
protected static org.apache.commons.logging.Log <B>log</B></PRE>
<DL>
<DD>Commons Logging instance.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="messages"><!-- --></A><H3>
messages</H3>
<PRE>
private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>messages</B></PRE>
<DL>
<DD>The message resources for this package.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="PREFIXES_KEY"><!-- --></A><H3>
PREFIXES_KEY</H3>
<PRE>
private static final java.lang.String <B>PREFIXES_KEY</B></PRE>
<DL>
<DD>The context attribute under which we store our prefixes list.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.struts.util.RequestUtils.PREFIXES_KEY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="encode"><!-- --></A><H3>
encode</H3>
<PRE>
private static java.lang.reflect.Method <B>encode</B></PRE>
<DL>
<DD>Java 1.4 encode method to use instead of deprecated 1.3 version.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="scopes"><!-- --></A><H3>
scopes</H3>
<PRE>
private static java.util.Map <B>scopes</B></PRE>
<DL>
<DD>Maps lowercase JSP scope names to their PageContext integer constant values.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="RequestUtils()"><!-- --></A><H3>
RequestUtils</H3>
<PRE>
public <B>RequestUtils</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="absoluteURL(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3>
absoluteURL</H3>
<PRE>
public static java.net.URL <B>absoluteURL</B>(javax.servlet.http.HttpServletRequest request,
java.lang.String path)
throws java.net.MalformedURLException</PRE>
<DL>
<DD>Create and return an absolute URL for the specified context-relative
path, based on the server and context information in the specified
request.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>path</CODE> - The context-relative path (must start with '/')
<DT><B>Returns:</B><DD>absolute URL based on context-relative path
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if we cannot create an absolute URL</DL>
</DD>
</DL>
<HR>
<A NAME="applicationClass(java.lang.String)"><!-- --></A><H3>
applicationClass</H3>
<PRE>
public static java.lang.Class <B>applicationClass</B>(java.lang.String className)
throws java.lang.ClassNotFoundException</PRE>
<DL>
<DD>Return the <code>Class</code> object for the specified fully qualified
class name, from this web application's class loader.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>className</CODE> - Fully qualified class name to be loaded
<DT><B>Returns:</B><DD>Class object
<DT><B>Throws:</B>
<DD><CODE>java.lang.ClassNotFoundException</CODE> - if the class cannot be found</DL>
</DD>
</DL>
<HR>
<A NAME="applicationInstance(java.lang.String)"><!-- --></A><H3>
applicationInstance</H3>
<PRE>
public static java.lang.Object <B>applicationInstance</B>(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException</PRE>
<DL>
<DD>Return a new instance of the specified fully qualified class name,
after loading the class from this web application's class loader.
The specified class <strong>MUST</strong> have a public zero-arguments
constructor.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>className</CODE> - Fully qualified class name to use
<DT><B>Returns:</B><DD>new instance of class
<DT><B>Throws:</B>
<DD><CODE>java.lang.ClassNotFoundException</CODE> - if the class cannot be found
<DD><CODE>java.lang.IllegalAccessException</CODE> - if the class or its constructor
is not accessible
<DD><CODE>java.lang.InstantiationException</CODE> - if this class represents an
abstract class, an interface, an array class, a primitive type,
or void
<DD><CODE>java.lang.InstantiationException</CODE> - if this class has no
zero-arguments constructor</DL>
</DD>
</DL>
<HR>
<A NAME="computeParameters(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
computeParameters</H3>
<PRE>
public static java.util.Map <B>computeParameters</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramId,
java.lang.String paramName,
java.lang.String paramProperty,
java.lang.String paramScope,
java.lang.String name,
java.lang.String property,
java.lang.String scope,
boolean transaction)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Compute a set of query parameters that will be dynamically added to
a generated URL. The returned Map is keyed by parameter name, and the
values are either null (no value specified), a String (single value
specified), or a String[] array (multiple values specified). Parameter
names correspond to the corresponding attributes of the
<code><html:link></code> tag. If no query parameters are
identified, return <code>null</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext we are operating in<DD><CODE>paramId</CODE> - Single-value request parameter name (if any)<DD><CODE>paramName</CODE> - Bean containing single-value parameter value<DD><CODE>paramProperty</CODE> - Property (of bean named by <code>paramName</code>
containing single-value parameter value<DD><CODE>paramScope</CODE> - Scope containing bean named by
<code>paramName</code><DD><CODE>name</CODE> - Bean containing multi-value parameters Map (if any)<DD><CODE>property</CODE> - Property (of bean named by <code>name</code>
containing multi-value parameters Map<DD><CODE>scope</CODE> - Scope containing bean named by
<code>name</code><DD><CODE>transaction</CODE> - Should we add our transaction control token?
<DT><B>Returns:</B><DD>Map of query parameters
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if we cannot look up the required beans
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a class cast exception occurs on a
looked-up bean or property</DL>
</DD>
</DL>
<HR>
<A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><!-- --></A><H3>
computeURL</H3>
<PRE>
public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.util.Map params,
java.lang.String anchor,
boolean redirect)
throws java.net.MalformedURLException</PRE>
<DL>
<DD><B>Deprecated.</B> <I>To be removed in Version 1.3.
Use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><CODE>computeURL(PageContext, String, String, String, String, Map, String, boolean)</CODE></A> instead.</I>
<P>
<DD>Compute a hyperlink URL based on the <code>forward</code>,
<code>href</code> or <code>page</code> parameter
that is not null.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up
the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should
be created (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>?
<DT><B>Returns:</B><DD>URL with session identifier
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created
for the specified parameters</DL>
</DD>
</DL>
<HR>
<A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean)"><!-- --></A><H3>
computeURL</H3>
<PRE>
public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.lang.String action,
java.util.Map params,
java.lang.String anchor,
boolean redirect)
throws java.net.MalformedURLException</PRE>
<DL>
<DD>Compute a hyperlink URL based on the <code>forward</code>,
<code>href</code>, <code>action</code> or <code>page</code> parameter
that is not null.
The returned URL will have already been passed to
<code>response.encodeURL()</code> for adding a session identifier.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up
the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should
be created (if specified)<DD><CODE>action</CODE> - Logical action name for which to look up
the context-relative URI (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>?
<DT><B>Returns:</B><DD>URL with session identifier
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created
for the specified parameters</DL>
</DD>
</DL>
<HR>
<A NAME="computeURL(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String, boolean, boolean)"><!-- --></A><H3>
computeURL</H3>
<PRE>
public static java.lang.String <B>computeURL</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String forward,
java.lang.String href,
java.lang.String page,
java.lang.String action,
java.util.Map params,
java.lang.String anchor,
boolean redirect,
boolean encodeSeparator)
throws java.net.MalformedURLException</PRE>
<DL>
<DD>Compute a hyperlink URL based on the <code>forward</code>,
<code>href</code>, <code>action</code> or <code>page</code> parameter
that is not null.
The returned URL will have already been passed to
<code>response.encodeURL()</code> for adding a session identifier.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - PageContext for the tag making this call<DD><CODE>forward</CODE> - Logical forward name for which to look up
the context-relative URI (if specified)<DD><CODE>href</CODE> - URL to be utilized unmodified (if specified)<DD><CODE>page</CODE> - Module-relative page for which a URL should
be created (if specified)<DD><CODE>action</CODE> - Logical action name for which to look up
the context-relative URI (if specified)<DD><CODE>params</CODE> - Map of parameters to be dynamically included (if any)<DD><CODE>anchor</CODE> - Anchor to be dynamically included (if any)<DD><CODE>redirect</CODE> - Is this URL for a <code>response.sendRedirect()</code>?<DD><CODE>encodeSeparator</CODE> - This is only checked if redirect is set to false (never
encoded for a redirect). If true, query string parameter separators are encoded
as >amp;, else & is used.
<DT><B>Returns:</B><DD>URL with session identifier
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created
for the specified parameters</DL>
</DD>
</DL>
<HR>
<A NAME="getActionMappingName(java.lang.String)"><!-- --></A><H3>
getActionMappingName</H3>
<PRE>
public static java.lang.String <B>getActionMappingName</B>(java.lang.String action)</PRE>
<DL>
<DD>Return the form action converted into an action mapping path. The
value of the <code>action</code> property is manipulated as follows in
computing the name of the requested mapping:
<ul>
<li>Any filename extension is removed (on the theory that extension
mapping is being used to select the controller servlet).</li>
<li>If the resulting value does not start with a slash, then a
slash is prepended.</li>
</ul>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getActionMappingURL(java.lang.String, javax.servlet.jsp.PageContext)"><!-- --></A><H3>
getActionMappingURL</H3>
<PRE>
public static java.lang.String <B>getActionMappingURL</B>(java.lang.String action,
javax.servlet.jsp.PageContext pageContext)</PRE>
<DL>
<DD>Return the form action converted into a server-relative URL.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createActionForm(javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMapping, org.apache.struts.config.ModuleConfig, org.apache.struts.action.ActionServlet)"><!-- --></A><H3>
createActionForm</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> <B>createActionForm</B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping,
<A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> moduleConfig,
<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet)</PRE>
<DL>
<DD>Create (if necessary) and return an ActionForm instance appropriate
for this request. If no ActionForm instance is required, return
<code>null</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>mapping</CODE> - The action mapping for this request<DD><CODE>moduleConfig</CODE> - The configuration for this module<DD><CODE>servlet</CODE> - The action servlet
<DT><B>Returns:</B><DD>ActionForm instance associated with this request</DL>
</DD>
</DL>
<HR>
<A NAME="lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String)"><!-- --></A><H3>
lookup</H3>
<PRE>
public static java.lang.Object <B>lookup</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String name,
java.lang.String scopeName)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Locate and return the specified bean, from an optionally specified
scope, in the specified page context. If no such bean is found,
return <code>null</code> instead. If an exception is thrown, it will
have already been saved via a call to <code>saveException()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Page context to be searched<DD><CODE>name</CODE> - Name of the bean to be retrieved<DD><CODE>scopeName</CODE> - Scope to be searched (page, request, session, application)
or <code>null</code> to use <code>findAttribute()</code> instead
<DT><B>Returns:</B><DD>JavaBean in the specified page context
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if an invalid scope name
is requested</DL>
</DD>
</DL>
<HR>
<A NAME="getScope(java.lang.String)"><!-- --></A><H3>
getScope</H3>
<PRE>
public static int <B>getScope</B>(java.lang.String scopeName)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Converts the scope name into its corresponding PageContext constant value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>scopeName</CODE> - Can be "page", "request", "session", or "application" in any
case.
<DT><B>Returns:</B><DD>The constant representing the scope (ie. PageContext.REQUEST_SCOPE).
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if the scopeName is not a valid name.<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="lookup(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
lookup</H3>
<PRE>
public static java.lang.Object <B>lookup</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String name,
java.lang.String property,
java.lang.String scope)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Locate and return the specified property of the specified bean, from
an optionally specified scope, in the specified page context. If an
exception is thrown, it will have already been saved via a call to
<code>saveException()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Page context to be searched<DD><CODE>name</CODE> - Name of the bean to be retrieved<DD><CODE>property</CODE> - Name of the property to be retrieved, or
<code>null</code> to retrieve the bean itself<DD><CODE>scope</CODE> - Scope to be searched (page, request, session, application)
or <code>null</code> to use <code>findAttribute()</code> instead
<DT><B>Returns:</B><DD>property of specified JavaBean
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if an invalid scope name
is requested
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if the specified bean is not found
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if accessing this property causes an
IllegalAccessException, IllegalArgumentException,
InvocationTargetException, or NoSuchMethodException</DL>
</DD>
</DL>
<HR>
<A NAME="retrieveUserLocale(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3>
retrieveUserLocale</H3>
<PRE>
public static java.util.Locale <B>retrieveUserLocale</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String locale)</PRE>
<DL>
<DD>Look up and return current user locale, based on the specified parameters.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale. If this is
<code>null</code>, the default locale key is used for the lookup.
<DT><B>Returns:</B><DD>current user locale</DL>
</DD>
</DL>
<HR>
<A NAME="message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
message</H3>
<PRE>
public static java.lang.String <B>message</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Look up and return a message string, based on the specified parameters.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our
message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned
<DT><B>Returns:</B><DD>message string
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been
saved in the request already)</DL>
</DD>
</DL>
<HR>
<A NAME="message(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
message</H3>
<PRE>
public static java.lang.String <B>message</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key,
java.lang.Object[] args)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Look up and return a message string, based on the specified parameters.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our
message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned<DD><CODE>args</CODE> - Replacement parameters for this message
<DT><B>Returns:</B><DD>message string
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been
saved in the request already)</DL>
</DD>
</DL>
<HR>
<A NAME="retrieveMessageResources(javax.servlet.jsp.PageContext, java.lang.String, boolean)"><!-- --></A><H3>
retrieveMessageResources</H3>
<PRE>
private static <A HREF="../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>retrieveMessageResources</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
boolean checkPageScope)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Returns the appropriate MessageResources object for the current module and
the given bundle.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - Search the context's scopes for the resources.<DD><CODE>bundle</CODE> - The bundle name to look for. If this is <code>null</code>, the
default bundle name is used.
<DT><B>Returns:</B><DD>MessageResources The bundle's resources stored in some scope.
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if the MessageResources object could not be found.</DL>
</DD>
</DL>
<HR>
<A NAME="populate(java.lang.Object, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
populate</H3>
<PRE>
public static void <B>populate</B>(java.lang.Object bean,
javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException</PRE>
<DL>
<DD>Populate the properties of the specified JavaBean from the specified
HTTP request, based on matching each parameter name against the
corresponding JavaBeans "property setter" methods in the bean's class.
Suitable conversion is done for argument types as described under
<code>convert()</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bean</CODE> - The JavaBean whose properties are to be set<DD><CODE>request</CODE> - The HTTP request whose parameters are to be used
to populate bean properties
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.ServletException</CODE> - if an exception is thrown while setting
property values</DL>
</DD>
</DL>
<HR>
<A NAME="populate(java.lang.Object, java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
populate</H3>
<PRE>
public static void <B>populate</B>(java.lang.Object bean,
java.lang.String prefix,
java.lang.String suffix,
javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException</PRE>
<DL>
<DD>Populate the properties of the specified JavaBean from the specified
HTTP request, based on matching each parameter name (plus an optional
prefix and/or suffix) against the corresponding JavaBeans "property
setter" methods in the bean's class. Suitable conversion is done for
argument types as described under <code>setProperties()</code>.
<p>
If you specify a non-null <code>prefix</code> and a non-null
<code>suffix</code>, the parameter name must match <strong>both</strong>
conditions for its value(s) to be used in populating bean properties.
If the request's content type is "multipart/form-data" and the
method is "POST", the HttpServletRequest object will be wrapped in
a MultipartRequestWrapper object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bean</CODE> - The JavaBean whose properties are to be set<DD><CODE>prefix</CODE> - The prefix (if any) to be prepend to bean property
names when looking for matching parameters<DD><CODE>suffix</CODE> - The suffix (if any) to be appended to bean property
names when looking for matching parameters<DD><CODE>request</CODE> - The HTTP request whose parameters are to be used
to populate bean properties
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.ServletException</CODE> - if an exception is thrown while setting
property values</DL>
</DD>
</DL>
<HR>
<A NAME="getMultipartHandler(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
getMultipartHandler</H3>
<PRE>
private static <A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> <B>getMultipartHandler</B>(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException</PRE>
<DL>
<DD>Try to locate a multipart request handler for this request. First, look
for a mapping-specific handler stored for us under an attribute. If one
is not present, use the global multipart handler, if there is one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The HTTP request for which the multipart handler should
be found.
<DT><B>Returns:</B><DD>the multipart handler to use, or <code>null</code> if none is
found.
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.ServletException</CODE> - if any exception is thrown while attempting
to locate the multipart handler.</DL>
</DD>
</DL>
<HR>
<A NAME="getAllParametersForMultipartRequest(javax.servlet.http.HttpServletRequest, org.apache.struts.upload.MultipartRequestHandler)"><!-- --></A><H3>
getAllParametersForMultipartRequest</H3>
<PRE>
private static java.util.Map <B>getAllParametersForMultipartRequest</B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A> multipartHandler)</PRE>
<DL>
<DD>Create a map containing all of the parameters supplied for a multipart
request, keyed by parameter name. In addition to text and file elements
from the multipart body, query string parameters are included as well.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The (wrapped) HTTP request whose parameters are to be
added to the map.<DD><CODE>multipartHandler</CODE> - The multipart handler used to parse the request.
<DT><B>Returns:</B><DD>the map containing all parameters for this multipart request.</DL>
</DD>
</DL>
<HR>
<A NAME="present(javax.servlet.jsp.PageContext, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
present</H3>
<PRE>
public static boolean <B>present</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String bundle,
java.lang.String locale,
java.lang.String key)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Return true if a message string for the specified message key
is present for the specified Locale.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext associated with this request<DD><CODE>bundle</CODE> - Name of the servlet context attribute for our
message resources bundle<DD><CODE>locale</CODE> - Name of the session attribute for our user's Locale<DD><CODE>key</CODE> - Message key to be looked up and returned
<DT><B>Returns:</B><DD>true if a message string for message key exists
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if a lookup error occurs (will have been
saved in the request already)</DL>
</DD>
</DL>
<HR>
<A NAME="printableURL(java.net.URL)"><!-- --></A><H3>
printableURL</H3>
<PRE>
public static java.lang.String <B>printableURL</B>(java.net.URL url)</PRE>
<DL>
<DD>Compute the printable representation of a URL, leaving off the
scheme/host/port part if no host is specified. This will typically
be the case for URLs that were originally created from relative
or context-relative URIs.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>url</CODE> - URL to render in a printable representation
<DT><B>Returns:</B><DD>printable representation of a URL</DL>
</DD>
</DL>
<HR>
<A NAME="actionURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ActionConfig, java.lang.String)"><!-- --></A><H3>
actionURL</H3>
<PRE>
public static java.lang.String <B>actionURL</B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> action,
java.lang.String pattern)</PRE>
<DL>
<DD>Return the context-relative URL that corresponds to the specified
<A HREF="../../../../org/apache/struts/config/ActionConfig.html"><CODE>ActionConfig</CODE></A>, relative to the module associated
with the current modules's <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>action</CODE> - ActionConfig to be evaluated<DD><CODE>pattern</CODE> - URL pattern used to map the controller servlet
<DT><B>Returns:</B><DD>context-relative URL relative to the module<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="forwardURL(javax.servlet.http.HttpServletRequest, org.apache.struts.config.ForwardConfig)"><!-- --></A><H3>
forwardURL</H3>
<PRE>
public static java.lang.String <B>forwardURL</B>(javax.servlet.http.HttpServletRequest request,
<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> forward)</PRE>
<DL>
<DD>Return the context-relative URL that corresponds to the specified
ForwardConfig. The URL is calculated based on the properties of the
<A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A> instance as follows:
<ul>
<li>If the <code>contextRelative</code> property is set, it is
assumed that the <code>path</code> property contains a path
that is already context-relative:
<ul>
<li>If the <code>path</code> property value starts with a slash,
it is returned unmodified.</li>
<li>If the <code>path</code> property value does not start
with a slash, a slash is prepended.</li>
</ul></li>
<li>Acquire the <code>forwardPattern</code> property from the
<code>ControllerConfig</code> for the application module used
to process this request. If no pattern was configured, default
to a pattern of <code>$M$P</code>, which is compatible with the
hard-coded mapping behavior in Struts 1.0.</li>
<li>Process the acquired <code>forwardPattern</code>, performing the
following substitutions:
<ul>
<li><strong>$M</strong> - Replaced by the module prefix for the
application module processing this request.</li>
<li><strong>$P</strong> - Replaced by the <code>path</code>
property of the specified <A HREF="../../../../org/apache/struts/config/ForwardConfig.html"><CODE>ForwardConfig</CODE></A>, prepended
with a slash if it does not start with one.</li>
<li><strong>$$</strong> - Replaced by a single dollar sign
character.</li>
<li><strong>$x</strong> (where "x" is any charater not listed
above) - Silently omit these two characters from the result
value. (This has the side effect of causing all other
$+letter combinations to be reserved.)</li>
</ul></li>
</ul>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>forward</CODE> - ForwardConfig to be evaluated
<DT><B>Returns:</B><DD>context-relative URL<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="pageURL(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3>
pageURL</H3>
<PRE>
public static java.lang.String <B>pageURL</B>(javax.servlet.http.HttpServletRequest request,
java.lang.String page)</PRE>
<DL>
<DD><p>Return the context-relative URL that corresponds to the specified
<code>page</code> attribute value, calculated based on the
<code>pagePattern</code> property of the current module's
<A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A>.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>page</CODE> - The module-relative URL to be substituted in
to the <code>pagePattern</code> pattern for the current module
(<strong>MUST</strong> start with a slash)
<DT><B>Returns:</B><DD>context-relative URL<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="requestURL(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
requestURL</H3>
<PRE>
public static java.net.URL <B>requestURL</B>(javax.servlet.http.HttpServletRequest request)
throws java.net.MalformedURLException</PRE>
<DL>
<DD>Return the URL representing the current request. This is equivalent
to <code>HttpServletRequest.getRequestURL()</code> in Servlet 2.3.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing
<DT><B>Returns:</B><DD>URL representing the current request
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created</DL>
</DD>
</DL>
<HR>
<A NAME="serverURL(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
serverURL</H3>
<PRE>
public static java.net.URL <B>serverURL</B>(javax.servlet.http.HttpServletRequest request)
throws java.net.MalformedURLException</PRE>
<DL>
<DD>Return the URL representing the scheme, server, and port number of
the current request. Server-relative URLs can be created by simply
appending the server-relative path (starting with '/') to this.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing
<DT><B>Returns:</B><DD>URL representing the scheme, server, and port number of
the current request
<DT><B>Throws:</B>
<DD><CODE>java.net.MalformedURLException</CODE> - if a URL cannot be created</DL>
</DD>
</DL>
<HR>
<A NAME="saveException(javax.servlet.jsp.PageContext, java.lang.Throwable)"><!-- --></A><H3>
saveException</H3>
<PRE>
public static void <B>saveException</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.Throwable exception)</PRE>
<DL>
<DD>Save the specified exception as a request attribute for later use.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>exception</CODE> - The exception to be saved</DL>
</DD>
</DL>
<HR>
<A NAME="selectApplication(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
selectApplication</H3>
<PRE>
public static void <B>selectApplication</B>(java.lang.String prefix,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(String,HttpServletRequest,ServletContext)</CODE></A></I>
<P>
<DD>Select the module to which the specified request belongs, and
add corresponding request attributes to this request.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The module prefix of the desired module<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL>
</DD>
</DL>
<HR>
<A NAME="selectModule(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
selectModule</H3>
<PRE>
public static void <B>selectModule</B>(java.lang.String prefix,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Select the module to which the specified request belongs, and
add corresponding request attributes to this request.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The module prefix of the desired module<DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application<DT><B>Since:</B></DT>
<DD>struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="selectApplication(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
selectApplication</H3>
<PRE>
public static void <B>selectApplication</B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest,ServletContext)</CODE></A></I>
<P>
<DD>Select the module to which the specified request belongs, and
add corresponding request attributes to this request.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL>
</DD>
</DL>
<HR>
<A NAME="selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
selectModule</H3>
<PRE>
public static void <B>selectModule</B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Select the module to which the specified request belongs, and
add corresponding request attributes to this request.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application</DL>
</DD>
</DL>
<HR>
<A NAME="getModuleName(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
getModuleName</H3>
<PRE>
public static java.lang.String <B>getModuleName</B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Get the module name to which the specified request belong.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application
<DT><B>Returns:</B><DD>The module prefix or ""</DL>
</DD>
</DL>
<HR>
<A NAME="getModuleName(java.lang.String, javax.servlet.ServletContext)"><!-- --></A><H3>
getModuleName</H3>
<PRE>
public static java.lang.String <B>getModuleName</B>(java.lang.String matchPath,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Get the module name to which the specified uri belong.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>matchPath</CODE> - The uri from which we want the module name.<DD><CODE>context</CODE> - The ServletContext for this web application
<DT><B>Returns:</B><DD>The module prefix or ""</DL>
</DD>
</DL>
<HR>
<A NAME="getRequestModuleConfig(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
getRequestModuleConfig</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getRequestModuleConfig</B>(javax.servlet.http.HttpServletRequest request)</PRE>
<DL>
<DD>Return the current ModuleConfig object stored in request, if it exists,
null otherwise.
This method can be used by plugin to retrieve the current module config
object. If no moduleConfig is found, this means that the request haven't
hit the server throught the struts servlet. The appropriate module config
can be set and found with
<code><A HREF="../../../../org/apache/struts/util/RequestUtils.html#selectModule(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><CODE>selectModule(HttpServletRequest, ServletContext)</CODE></A> </code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing
<DT><B>Returns:</B><DD>the ModuleConfig object from request, or null if none is set in
the request.<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getModuleConfig(javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
getModuleConfig</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getModuleConfig</B>(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Return the ModuleConfig object is it exists, null otherwise.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>context</CODE> - The ServletContext for this web application
<DT><B>Returns:</B><DD>the ModuleConfig object<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getModuleConfig(javax.servlet.jsp.PageContext)"><!-- --></A><H3>
getModuleConfig</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>getModuleConfig</B>(javax.servlet.jsp.PageContext pageContext)</PRE>
<DL>
<DD>Return the ModuleConfig object if it exists, null if otherwise.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The page context.
<DT><B>Returns:</B><DD>the ModuleConfig object<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getApplicationPrefixes(javax.servlet.ServletContext)"><!-- --></A><H3>
getApplicationPrefixes</H3>
<PRE>
public static java.lang.String[] <B>getApplicationPrefixes</B>(javax.servlet.ServletContext context)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>Use getModulePrefixes(ServletContext) instead.</I>
<P>
<DD>Return the list of module prefixes that are defined for
this web application, creating it if necessary. <strong>NOTE</strong> -
the "" prefix for the default module is not included in this list.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - The ServletContext for this web application
<DT><B>Returns:</B><DD>an array of module prefixes</DL>
</DD>
</DL>
<HR>
<A NAME="getModulePrefixes(javax.servlet.ServletContext)"><!-- --></A><H3>
getModulePrefixes</H3>
<PRE>
public static java.lang.String[] <B>getModulePrefixes</B>(javax.servlet.ServletContext context)</PRE>
<DL>
<DD>Return the list of module prefixes that are defined for
this web application, creating it if necessary. <strong>NOTE</strong> -
the "" prefix for the default module is not included in this list.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - The ServletContext for this web application
<DT><B>Returns:</B><DD>an array of module prefixes<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getActionMessages(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3>
getActionMessages</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/action/ActionMessages.html">ActionMessages</A> <B>getActionMessages</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Retrieves the value from request scope and if it isn't already an <code>ActionMessages</code>
some classes are converted to one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>paramName</CODE> - Key for parameter value
<DT><B>Returns:</B><DD>ActionErros in page context.
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE> - if</DL>
</DD>
</DL>
<HR>
<A NAME="getActionErrors(javax.servlet.jsp.PageContext, java.lang.String)"><!-- --></A><H3>
getActionErrors</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/action/ActionErrors.html">ActionErrors</A> <B>getActionErrors</B>(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)
throws javax.servlet.jsp.JspException</PRE>
<DL>
<DD>Retrieves the value from request scope and if it isn't already an <code>ErrorMessages</code>
some classes are converted to one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The PageContext for the current page<DD><CODE>paramName</CODE> - Key for parameter value
<DT><B>Returns:</B><DD>ActionErrors from request scope
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="encodeURL(java.lang.String)"><!-- --></A><H3>
encodeURL</H3>
<PRE>
public static java.lang.String <B>encodeURL</B>(java.lang.String url)</PRE>
<DL>
<DD>Use the new URLEncoder.encode() method from java 1.4 if available, else
use the old deprecated version. This method uses reflection to find the appropriate
method; if the reflection operations throw exceptions, this will return the url
encoded with the old URLEncoder.encode() method.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>String - the encoded url.</DL>
</DD>
</DL>
<HR>
<A NAME="isXhtml(javax.servlet.jsp.PageContext)"><!-- --></A><H3>
isXhtml</H3>
<PRE>
public static boolean <B>isXhtml</B>(javax.servlet.jsp.PageContext pageContext)</PRE>
<DL>
<DD>Returns true if the custom tags are in XHTML mode.
<P>
<DD><DL>
<DT><B>Since:</B></DT>
<DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RequestUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/struts/util/PropertyMessageResourcesFactory.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/util/ResponseUtils.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="RequestUtils.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright 2000-2003 - Apache Software Foundation
</BODY>
</HTML>
|