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
What is prototype?
What is difference between object state and behavior?
Is a class a subclass of itself?
Where can I find seam examples and documentation?
Why is string immutable in java?
Can you give me a simple example of using the requiredif validator rule?
What is ioc concept & explain it?
What is the relationship between local interfaces and container-managed relationships?
Explain the advantages and disadvantages of detached objects.
What is scalable, portability in the view of J2EE?
What is a class loader? What are the different class loaders used by jvm?
To identify IDL language what mapping mechanism is used?
What is a tasks priority and how is it used in scheduling?
Define aop(assepct oriented programing)?
Explain about thread synchronization inside a monitor?