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 are the types of data passing mechanisams under JMS specification?
Is System.err.println(""Statement"); is execute the output on console . Example: System.err.println("Hello JAVA");
How is a java object message delivered to a non-java client?
how can we load a file of a user in the database table?
To make an object to begin executing as a separate thread, what method is used?
Hi I have joined java course. I also want additional help from any tutorials website. Please suggest me tutorials which provides easy to understand online applet tutorials?
In howmany ways a thread can be created?
What is deadlock?
Is 'synchronised' a modifier?
Can you write Java code for declaration of multiple inheritance in Java ?
How to determine SGA site?
What is Bootstrapping in RMI?