how to handle http request in struts
Answers were Sorted based on User's Feedback
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 |
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 |
How do you empty a list in java?
What is queue in java?
Can a vector contain heterogenous objects?
What does the “final” keyword mean in front of a variable? A method? A class?
any other way to print the text without using System.out.println() in java?
Why is java so popular?
How will you initialize an Applet?
When will you define a method as static in Java?
0 Answers SwanSoft Technologies,
diff b/w sleep(1000) and wait(1000)?
How is string stored in java?
class A{ class B{ } } in which name u save the file,its the program compile?
what is the difference between multitasking and multithreading?