Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002402 [Resin] major always 02-06-08 00:58 02-07-08 16:52
Reporter waiwong View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.3
Summary 0002402: EL expressions not working
Description 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.
Additional Information
Attached Files  resin.conf.zip [^] (19,460 bytes) 02-06-08 00:58

- Relationships

- 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.
 

- Issue History
Date Modified Username Field Change
02-06-08 00:58 waiwong New Issue
02-06-08 00:58 waiwong File Added: resin.conf.zip
02-07-08 16:52 ferg Note Added: 0002738
02-07-08 16:52 ferg Assigned To  => ferg
02-07-08 16:52 ferg Status new => closed
02-07-08 16:52 ferg Resolution open => fixed
02-07-08 16:52 ferg Fixed in Version  => 3.1.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker