We ve written a method under one controller class, want to call this method in another controller class, what type of method should we define so that we can call it in the second controller class. We want avoid defining a static method as in this case we cant define a global variable in this method.
the whole objective here is to pass one variable value from one controller to another controller class in the runtime.. any other ways to meet this. Pls help us out.
thanks in advance