This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL Functions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL Functions" Watch "EL Functions" New topic
Author

EL Functions

Todd Farmer
Ranch Hand

Joined: May 28, 2004
Posts: 59
I'm preparing for the SCWCD exam, and working through EL functions. I've taken the examples in HFS and played around with them, learning how to pass in parameters (using fully-qualified class names, no parameter name in the <function-signature> element), but I'm wondering about passing anything other than hard-coded parameters in. For instance, the following works just fine:








But the following EL function in the JSP does not work:



Is there any way to pass a variable to an EL function?

Thanks!

Todd Farmer
Todd Farmer
Ranch Hand

Joined: May 28, 2004
Posts: 59
Nevermind, I figured it out myself. The following works:



Todd Farmer
 
GeeCON Prague 2014
 
subject: EL Functions