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

In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1556


How will you pass parameters in RMI? Why do you serialize?

693


Why is actionform a base class rather than an interface?

568


Which container method is used to cause a container to be laid out and redisplayed?

666


What is table mutation and how do you avoid it?

1917






What are the design considerations while making a choice between using interface and abstract class?

543


What are local interfaces? Describe.

698


What are the call back methods in entity bean?

557


what is a non-repeatable read?

1828


How to implement RMI in Java?

2401


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1782


Why do threads block on i/o?

680


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?

580


Can I use javascript to submit a form?

612


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3450