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 instance example?

0 Answers  


what is difference between Action messages and Action errors?

3 Answers   Bio Imagene, TCS,


When will we use them?

0 Answers  


In Serialization, whether you will use Static variables?

3 Answers   HCL,


What is a local block?

0 Answers   Global Logic,






Can a final method be overloaded?

0 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


different between exception and error? explaim check and uncheck exception

4 Answers  


What is the full meaning of java?

0 Answers  


what is Remote Reference Layer ?

1 Answers  


What is object english?

0 Answers  


To obtain design information about an object, which class in used?

1 Answers  


Categories