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
Describe, in general, how java's garbage collector works?
Can I map more than one table in a cmp?
Describe activation process?
When a thread blocks on i/o?
What is metaspace?
What are the sequence of steps to write pub or sub model kind of application?
Why do I get a duplicate name error when loading a jar file?
Write a program to show synchronization?
Why are component architectures useful?
Have you used threads in Servelet?
Explain the different types of memory used by jvm?
What is the difference between RMI registry and OS Agent?
What is synchronization and why is it important?
Difference between loadclass and class.forname?
What is the purpose of the finally clause of a try-catch-finally statement?