my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EL Functions
 
Similar Threads
EL Functions vs Custom Tags
HFSJ Page 814, question 30 errata?
use EL to access servlet init in web.xml
Overloading an EL function defined in TLD
EL functions - returning a int.