how to handle http request in struts

Answers were Sorted based on User's Feedback



how to handle http request in struts..

Answer / satish

in struts applications all the requests will be handled by
the ActionServlet for that struts-config.xml is passed as a
init-param in web.xml

Is This Answer Correct ?    8 Yes 1 No

how to handle http request in struts..

Answer / 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

More Core Java Interview Questions

What do you understand by final value?

0 Answers  


What is the public method modifier?

0 Answers  


What are null interfaces? Give some examples?

2 Answers  


How is treeset implemented in java?

0 Answers  


What is a newline character in java?

0 Answers  


how to use this key word in java programming?

7 Answers  


Can we access the non-final local variable, inside the local inner class?

0 Answers  


What exactly is methodology?

0 Answers  


Why can't you declare a class as protected?

0 Answers  


how to one war file class to another war file class?

0 Answers  


What are checked exceptions?

0 Answers  


How to split arraylist elements in java?

0 Answers  


Categories