What is Request Dispatcher and What is reuest Processor??
Answers were Sorted based on User's Feedback
Answer / laxmi
RequestDispatcher(rd) is an interface .Servlet container
creates rd object that receives requests from the client and
sends them to any resource (such as a servlet, HTML file, or
JSP file) on the server.
Request Processor contains the processing logic that the
ActionServlet performs as it receives each servlet request
from the container.
| Is This Answer Correct ? | 3 Yes | 0 No |
RequestDispatcher is an interface
which is used to forward our request to java
enabled Resources like servlet,jsp.. within the server.
it has one limitation i.e we cant forward req to
outside server... that was achieved by using sendreDirect
mechanism ..which forwards request not only within the
server but also outside servers.
RequestProcessor is an predefined class given by structs
framework..
and it is helper class to Structs controller
component i.e ActionServlet by using the method process()..
eventhough it is predefined we can create our
own RequestProcessor class
| Is This Answer Correct ? | 3 Yes | 0 No |
Explain about tiles?
What is Struts2?
Are struts and shocks the same?
What is actioncontext?
we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
shall we use any name for deployment descriptor of struts instead of struts-config.xml
What are the advantages of spring mvc over struts mvc?
wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executequery n execute statements
What do you mean by the abstract package in struts2, and what is its utilization?
Give an alternative way to protect jsp’s with not much features from direct access.
How to combine the struts with velocity template?
if u r using eclipse tool how can u debbaging u r application? plz explain with sample code