CSE MCQs :: JSP - CSE
- Why use Request Dispatcher to forward a request to another resource, instead of using a sendRedirect?
- Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?
- Which http method send by browser that asks the server to get the page only?
- JDBC is a ¦¦¦¦¦¦¦ interface, which means that it is used to invoke SQL commands directly
- Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP?
- Dynamic interception of requests and responses to transform the information is done by
- What type of scriptlet code is better-suited to being factored forward into a servlet?
- This is a software distribution model in which applications are hosted by a vendor or service provider and made available to customers over a network, typically the Internet.
A.
Redirects are no longer supported in the current servlet API
|
B.
Redirects are not a cross-platform portable mechanism
|
C.
The RequestDispatcher does not use the reflection API
|
D.
The RequestDispatcher does not require a round trip to the client, and thus is more efficient and allows the server to maintain request state
|