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
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What are the different class loaders used by jvm?
Can I use multiple html form elements with the same name?
Describe, in general, how java's garbage collector works?
What is the relationship between the canvas class and the graphics class?
What is the purpose of the finally clause of a try-catch-finally statement?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
Is “abc” a primitive value?
Define aop(assepct oriented programing)?
Why use a datasource when you can directly specify a connection details?
What is the relationship between an event-listener interface and an event-adapter class?
What is threadfactory?
What is the form of storage space in java?
How to determine SGA site?
Explain phantom read?