aspose file tools*
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
 
 
subject: EL Functions