Mantis - Resin
Viewing Issue Advanced Details
2402 major always 02-06-08 00:58 02-07-08 16:52
waiwong  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.5  
0002402: EL expressions not working
I am using the 3.1.3, and found that the EL expressions are not accessible under the WEB-INF/web.xml. I have lines like:

<init-param BaseFolder='${app.docDir}'/>

but got "${app.docDir}" when the value of BaseFolder is shown.

I found that this works if I use an old resin.conf from 3.0.x. I have attached both resin.conf files, and a sample web.xml file for reference.
 resin.conf.zip [^] (19,460 bytes) 02-06-08 00:58

Notes
(0002738)
ferg   
02-07-08 16:52   
The <allow-servlet-el/> should be put into a <prologue> block to force it before the web.xml, e.g.

<web-app-default>
  <prologue>
    <allow-servlet-el/>
  </prologue>
  ...
</web-app-default>

The sample resin.conf has been updated with this change.