A. Aka wrote:why EL finction do not work, when there is a subdirectory ?
Because the folder structure no longer conforms to the rules. Break the rules, things don't work right. Simple as that.
what I should do to make it work ?
Either put the context root folder (ch8_dice in this case, which I assume is the folder that contains WEB_INF) back in webapps, or move the folder to someplace other than under webapps and configure it using a context file to be an indpependent web app.