Lines 46-54
Link Here
|
46 |
|
46 |
|
47 |
private Vector jspProperties = null; |
47 |
private Vector jspProperties = null; |
48 |
private ServletContext ctxt; |
48 |
private ServletContext ctxt; |
49 |
|
|
|
50 |
// Lock to serialize initialization. |
51 |
static Object initLock = new Object(); |
52 |
private boolean initialized = false; |
49 |
private boolean initialized = false; |
53 |
|
50 |
|
54 |
private String defaultIsXml = null; // unspecified |
51 |
private String defaultIsXml = null; // unspecified |
Lines 196-202
Link Here
|
196 |
|
193 |
|
197 |
private void init() throws JasperException { |
194 |
private void init() throws JasperException { |
198 |
|
195 |
|
199 |
synchronized(initLock) { |
|
|
200 |
if (!initialized) { |
196 |
if (!initialized) { |
201 |
processWebDotXml(ctxt); |
197 |
processWebDotXml(ctxt); |
202 |
defaultJspProperty = new JspProperty(defaultIsXml, |
198 |
defaultJspProperty = new JspProperty(defaultIsXml, |
Lines 206-212
Link Here
|
206 |
initialized = true; |
202 |
initialized = true; |
207 |
} |
203 |
} |
208 |
} |
204 |
} |
209 |
} |
|
|
210 |
|
205 |
|
211 |
/** |
206 |
/** |
212 |
* Select the property group that has more restrictive url-pattern. |
207 |
* Select the property group that has more restrictive url-pattern. |