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 state does a thread enter when it terminates its processing?
Should synchronization primitives be used on bean methods?
What is message driven beam?
What classes of exceptions may be caught by a catch clause?
Can I have an action without a form?
What is a session? Can you share a session object between different theads?
Which component handles cluster communication in jboss?
Is it possible to stop the execution of a method before completion in a sessionbean?
What method is invoked to cause an object to begin executing as a separate thread?
Describe activation process?
what is handle?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
What are the different approaches to represent an inheritance hierarchy?
Where can I find seam examples and documentation?
What is the difference between system.out ,system.err and system.in?