I have recently started learning struts. I have a very basic question. What does the term 'lookup a class' mean. How it happens in struts.
Joined: Feb 15, 2005
Originally posted by Me Mehta: What does the term 'lookup a class' mean. How it happens in struts.
I suspect that what you're referring to is the fact that you idenitfy a class when you create a Struts action mapping, and then Struts "looks up" the class and executes the execute method on it. The term "lookup" refers to the way Struts finds the class in the class path, instantiates it, and then calls a method on it. Example: