3 or earlier specification. Such pages could have
unintentionally used ${ and \$ as regular text. If you wish to turn off JSP EL for
just a few pages, it might be more convenient to use the isELIgnored attribute
of the page directive as follows:
<%@ page isELIgnored="true" %>
Chapter 2 ?– Controlling Web Application Behavior with web.xml 88
The page directive??™s isELIgnored attribute value overrides the value specified
in jsp-property-group. The default value for el-ignored is false.
page-encoding
The page-encoding element specifies the character encoding to be used by
the JSP pages in this property group (e.g.,
ISO-8859-1
).The valid values for this element are the same as the
values for the pageEncoding attribute of the page directive. It is a translation
time error to specify a different encoding through the jsp-propertygroup
element than any other means. For example, if the character encoding
specified inside the jsp-property-group element is ISO-8859-1, but
inside the JSP page you specify UTF-8, the server will not be able to translate
this JSP page into Java code, reporting an error. If you need to specify
page encoding for just a few pages, it might be more convenient to use the
pageEncoding attribute as follows:
<%@ page pageEncoding="UTF-8" %>
The default encoding is ISO-8859-1.
scripting-invalid
The scripting-invalid element can be set to either true or false (e.
Pages:
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