Is it possible to cast using EL?
I've got a class Vehicle, and two other classes Car and Bus that extends Vehicle. I'm searching for all Vehicles and there's some data that has in Bus but does not have in Car.
So I was trying to show things from Car when it's a Car and things from Bus when it's a Bus.
How could I do it, Cast, instanceof? And How would I do it, cause i'm kinda lost here.
Thanks