Print just class name in EL

Viewed 2462

I have an EL variable ${foo} in my JSP page. I want to print out the class name of the variable. I have tried:

${foo['class']} 

Which works just fine but it prints this exact text out:

class app.test.model.Foo

However I just want it to print out the Foo part and not the rest of it. Is there any way to do that?

1 Answers
Related