Hi, in the Java class we used to have:
setSomeProperty(Object myObj) {
...
if (myObj instanceof SomeObj) {
...
} else if (myObj instanceof SomeOtherObj) {
...
}
}
This worked fine with Resin container, but stopped working with Tomcat
(same jstl.jar library)
We found a solution to the problem, though, by rewriting the java code
to specify what object the setter method should use (seems as if
general Object is not allowed in Tomcat for setter methods??).
So this resulted in two setter methods (Polymorfism?) instead of one:
setSomeProperty(SomeObj myObj) {
...
}
setSomeProperty(SomeOtherObj myObj) {
...
}
Regards, Per Magnus
Manish Pandit skrev:
> Hi!
>
[quoted text clipped - 5 lines]
> -cheers,
> Manish