hey there, i dont do much java and you will be able to see why now
say if have a package com.me
i have two classes in this package myUtils and myFun
they have a number of methods and these work fine if i call them from a jsp individually, however when i want to call a method from myUtils whithin myFun and compile, i get an unresolved symbol.
eg:
package com.my
public class myUtils {
public void myUtils() {}
public void aMethod(){}
}
package com.my
public class myFun {
myUtils blah = new myUtils();
blah.aMethod();
}
have i compiled them correctly or is there something else i am not doing properly?
thanks for any help!
and the circus leaves town...
say if have a package com.me
i have two classes in this package myUtils and myFun
they have a number of methods and these work fine if i call them from a jsp individually, however when i want to call a method from myUtils whithin myFun and compile, i get an unresolved symbol.
eg:
package com.my
public class myUtils {
public void myUtils() {}
public void aMethod(){}
}
package com.my
public class myFun {
myUtils blah = new myUtils();
blah.aMethod();
}
have i compiled them correctly or is there something else i am not doing properly?
thanks for any help!
and the circus leaves town...