How will the struts know which action class to call when
you submit a form?
Answers were Sorted based on User's Feedback
Answer / lovish gupta
It will be written in a file calles struts-config.xml...
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / 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 |
Answer / shrinath rodage
when we submited button that time the request first goes to
the struts-config.xml file and then search the corresponding
action class and it will perform the action and it will
respond to the browser...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sridhar
in web.xml .
we have to use the Class information in the configuration file.
class name:org.apache.struts.action.ActionServlet Class
| Is This Answer Correct ? | 0 Yes | 2 No |
What is colon_pkg_prefixes and what is its use?
difference between applicationserver and webserver
What is RMI Registry?
6 Answers Siemens, United Software Solutions,
If we opened windows notepad 4 times, does it starts 4 processes or 4 threads?
how i secure my site with the https protocol.what are the steps?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
how team leaders assign work for the team member like through papers,word document
What is Stream Tokenizer?
How many ways can a thread be used?
Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
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?
what is diff between Access modifier and specifier?