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

Can we split string with in java?

536


What causes memory leaks in java?

496


How do you insert a line break?

501


Is empty set an element of empty set?

609


make a method which any number and any type of argument and print sum of that arguments.....

1386






What is the meaning of 3 dots in java?

688


Write a code to show a static variable?

620


How many decimal places is a double?

543


How does java enable high performance?

697


What is generic type?

574


Which of the following is not an isolation level in the JDBC

1614


How to sort array in descending order in java?

519


Tell me a few examples of final classes defined in Java API?

570


How to print nodes of a Binary tree?

1756


Why runnable interface is used in java?

578