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


Please Help Members By Posting Answers For Below Questions

What state does a thread enter when it terminates its processing?

611


Should synchronization primitives be used on bean methods?

558


What is message driven beam?

585


What classes of exceptions may be caught by a catch clause?

561


Can I have an action without a form?

601






What is a session? Can you share a session object between different theads?

558


Which component handles cluster communication in jboss?

630


Is it possible to stop the execution of a method before completion in a sessionbean?

604


What method is invoked to cause an object to begin executing as a separate thread?

572


Describe activation process?

2068


what is handle?

1857


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?

587


What are the different approaches to represent an inheritance hierarchy?

592


Where can I find seam examples and documentation?

571


What is the difference between system.out ,system.err and system.in?

599