How will the struts know which action class to call when
you submit a form?
Answer Posted / chetanya
struts-config.xml in this file.
under the tag <type> absolute path of Action class
under the tag <name> name of the action form class
Both of this will be called when the desired action
mentioned under the <path> tag will be called and
struts-config.xml will call action class mentioned in the
<type> tag and also populate the fields of form class
mentioned under <name> tag.
Thanks,
Chetanya
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How will you pass parameters in RMI? Why do you serialize?
Why are some of the class and element names counter-intuitive?
How many times may an objects finalize() method be invoked by the garbage collector?
When a thread blocks on i/o, what state does it enter?
What is the difference between the font and fontmetrics classes?
What is the difference between a static and a non-static inner class?
Which component handles cluster communication in jboss?
What are the different approaches to represent an inheritance hierarchy?
whats is mean by tiles in struts
What is synchronization and why is it important?
What modifiers may be used with an inner class that is a member of an outer class?
Can I map more than one table in a cmp?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What is an abstract method?
Is the infobus client side only?