The whole purpose of the JSTL and EL are to replace scriptlets in JSPs, which have been discredited since 2002. They were never meant to work together, and while you might be able to shoe-horn them into the same page, it's never pretty.
You might also want to use a custom tag for whatever that method is doing.
Joined: Feb 10, 2009
Ok, I think I almost have it working but now I have an error: Caused by: org.apache.jasper.JasperException: Method "space" for function "space" not found in class "my.company.directory.functions.Utility"
Here is my tld:
my class file:
and my jsp:
and I even added the entry to the taglib in my web.xml file
I can't think of what I could be missing unless things are getting confused since this is a portlet mvc project.
subject: syntax for sending a jsp hashmap variable to a jsp method