Nisha
I ran your code using Tomcat 4.1 , it compiled and prints results.
I understood what you are saying , how it is working if it is not property of Employee , I am not really sure.
Looks like above two lines are the reasin it is working . How does the compiled code in Weblogic looks like ?
Archana