how to handle http request in struts

Answer Posted / shahnawaz sheikh

"org.apache.action.ActionServlet" is responsible for
handling all HTTP Requests. ActionServlet is responsible
for configuring your application using struts configuration
file.
After that it calls RequestProcessor which is
responsible for processing content type,mapping,forward and
many other methods.Its duty is to process request i.e fetch
appropiate action from Struts configuration file as per the
request and assigning bean to appropiate ActinForm.
One can customize the way request are handled in
Struts by customizing RequestProcessor Class.
And finally our code begins ..... and controller and model
come into play to give resulting view.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to search a number in the given list of numbers.

832


What happens if we don’t override run method ?

769


Difference between serialization and deserialization in java?

859


Is void a data type in java?

731


Why Java is not pure Object Oriented language?

873


What do you understand by java virtual machine?

926


What do you mean by singleton class in java?

691


What is the range of the short type?

786


Can you use this() and super() both in a constructor?

739


What is string variable?

801


What classes of exceptions may be caught by a catch clause in java programming?

935


What is array length in java?

732


Do I need java on my pc?

733


How can you read an integer value from the keyword when the application is runtime in java? example?

867


How do you define a set in java?

739