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 is a void method java?

1 Answers  


What is difference between Iterator and for loop

9 Answers   HP,


what is connection pooling with example?

3 Answers   Amdocs,


What is a modifier?

2 Answers  


Is heap stored in ram?

1 Answers  


What is the difference between array and array list in java?

1 Answers  


What error occurs if a try-catch-finally statement sequence does not have a catch clause?

4 Answers  


What problems will occur when you don?t use layout managers?

1 Answers  


How a string is stored in memory?

1 Answers  


what is abstract method with example?

6 Answers   Infosys, Virtusa,


Is java same as core java?

1 Answers  


What is an abstract method in java programming?

1 Answers  


Categories