What is the use of RequestProcessor, if we are having
ActionServlet in struts

Answer Posted / nitilaksha m shetty

The RequestProcessor is a helper class instantiated and used
by ActionServlet to process each request that comes in. The
RequestProcessor actually does most of the work involved
when a request comes in and a response goes out. The
ActionServlet(org.apache.struts.action.ActionServlet) is
invoked each time an incoming HTTP request is received. It
then calls the
RequestProcessor(org.apache.struts.action.requestProcessor)
to determine which form bean to instantiate and which action
class to call based on the contents of your
struts-config.xml file.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jlayeredpane java?

646


What is a web container in j2ee?

697


What is javafx java?

669


Why is java robust?

889


Define authorization constraint?

737


What is context attribute?

725


What is the build file?

679


Which java ide is best?

687


What are the advantages in the use of spring for application development?

678


What do you mean by the deployment descriptor?

687


What is java application server?

658


What is non primitive data type in java?

677


How do you make a class immutable in java?

625


Why is java important for internet?

630


On which platform j2ee is based?

703