diff mvc1 and mvc2
wahts is mean by servlet chaining?
Answers were Sorted based on User's Feedback
Answer / shiv kumar
in mvc1 client send the request to the jsp,which is used
for both controlling and persentation.
while, in mvc2 client send the request to controller that
is servlet,servlet receives the request,process the
request,send the response to the client using jsp/html
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shiv kumar
in mvc1 client send the request to the jsp,which is used
for both controlling and persentation.
while, in mvc2 client send the request to controller that
is servlet,servlet receives the request,process the
request,send the response to the client using jsp/html
the passing of response object from one servlet as request
to another Servlet, is also called as Servlet Chaining.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sandya
Application control is decentralized in Mvc1 architecture.
Since the next page to be displayed is determined by the
logic embedded in the current page. Decentralized
navigation control can cause headaches when requirements
keep changing.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is main purpose of XML?
Thread life cycle?
What value does readline() return when it has reached the end of a file?
Why a component architecture for the java platform?
What is thread deadlock? How to resolve thread deadlock?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
Why use a datasource when you can directly specify a connection details?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
Can you give me a simple example of using the requiredif validator rule?
How task's priority is used in scheduling?
What is Remote Interface?
What are the call back methods in entity bean?