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

what are abstract functions?

793


What is a class variable?

822


How do you clear an arraylist in java?

747


What is the use of parse function in java?

739


Is string a wrapper class?

784


How to create an interface?

849


What is logical variable?

752


Which variable is the independent variable?

791


What is the difference between reader/writer and inputstream/output stream?

804


What is byte value?

772


What is type parameter in java?

734


Can we have this () and super () together?

813


Is intellij better than eclipse?

794


Name container classes in java programming?

825


Mention the default values of all the elements of an array defined as an instance variable.

763