SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 118 | Next

Larry Brown, Marty Hall, and Yaakov Chaikin

"Core Servlets and JavaServer Pages, Volume 2"

The following is a list of all jsp-property-group
subelements and their usages. These subelements have to appear (if at all) in the following
order.
url-pattern
The url-pattern element contains the mapping used to match URLs to JSP
pages. All other configuration properties specified within jsp-propertygroup
apply only to the JSP pages matched by the url-pattern element.
Recall that there can be more than one url-pattern element specified as
long as all of them appear before any other jsp-property-group subelements.
Here, the url-pattern element works exactly the same way it works
when used as a subelement of the servlet-mapping element discussed in
Section 2.4 (Assigning Names and Custom URLs). Note that the URLs specified
by this element are not resolved by the client, but the server. Thus, it??™s perfectly
legal to specify a URL containing the protected WEB-INF directory. For
example, the following web.xml snippet will apply configuration properties to
all JSP pages found inside the WEB-INF/myjsps folder.


/WEB-INF/myjsps/*



el-ignored
The el-ignored element can be set to either true or false (e.g.,
true).When set to true, the affected pages
turn off JSP Expression Language (EL) processing and treat JSP EL as regular
text. This could be useful if some of the pages are inherited from a Web application
compliant with the servlet 2.


Pages:
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