| Author |
EL contained in an EL Function
|
Krutika Ravi
Greenhorn
Joined: Feb 11, 2010
Posts: 23
|
|
Hi,
Quick Question: Can a param value using EL be used within an EL Function. For eg:
${myFirstTag:establishConnection('Gmail','imap.gmail.com','993',${param["username"]},${param["password"]})}
From the error I get I feel the system isn't able to differentiate between the curly braces
description: The server encountered an internal error ( javax.el.ELException: Failed to parse the expression [${myFirstTag:establishConnection('Gmail','imap.gmail.com','993',${param["username"]}]) that prevented it from fulfilling this
Thanks
Kind Regards
Krutika
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
|
${} encompass the entire EL expression; it's not some sort of fetch operator. It is never nested.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Krutika Ravi
Greenhorn
Joined: Feb 11, 2010
Posts: 23
|
|
Thanks Bear. Was able to get it right using:
${myFirstTag:establishConnection('Gmail','imap.gmail.com','993', param["username"], param["password"])}
Kind Regards
Kru
|
 |
 |
|
|
subject: EL contained in an EL Function
|
|
|