File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
use EL to access servlet init in web.xml
EL Functions vs Custom Tags
HFSJ Page 814, question 30 errata?
Overloading an EL function defined in TLD
EL functions - returning a int.