PRJ301 - Part 1 All Answers Correct
What http method send by browser that gives the server what user data typed in the form?
a. delete
b. post
c. put
d. head ️b
Which among the following components acts as a Controller in Struts 2 framework? Choose TWO
answer.
a. Interceptors
b....
What http method send by browser that gives the server what user data typed in the form?
a. delete
b. post
c. put
d. head ✔️b
Which among the following components acts as a Controller in Struts 2 framework? Choose TWO
answer.
a. Interceptors
b. FilterDispatcher
c. Configuration Manager
d. Action Mapper ✔️ab
Choose the option to make jsp page as an error page?
a. isErrorPage= "false"
b. Session= "false"
c. Session="true"
d. isError Page= "true" ✔️d
Which following methods of HttpServlet class stores a resource under the request URL?
a, doput
b. doGet
c. doHead
d. do Delete
e. doTrace
f. do Post ✔️a
,What is NOT true about MVC Model 2 Architecture?
a. It is applied for little applications only, not for substantial applications
b. The model represents the application object or data.
c. The view represents the user interface component of the data model
d. The controller transmits the request, and selects a view for presenting data to the user. ✔️a
Choose option is NOT types of filters in JSP
a. Authentication Filters
b. Data Compression Filters
c. Logging Filters
d. Time Controlling Filters ✔️d
Which of the following is not a directive in JSP?
a. taglib
b. page
c. include
d. export ✔️d
Which is the methods of generated Servlet??
a._jsplnit()
b._jspBuild()
c. _jspDestroy()
d. jspService() ✔️acd
Which statement is CORRECT about Struts 2?
a. Provides multiple tag libraries.
b. Uses JSTL.
c. Implements the Action interface.
, d. Provide a single tag library. ✔️d
How can you open a link in a new browser window?
a. <a href = "url" target="_blank">
b. <a href = "url" target ="open">
c. <a href = "url".new>
d. <a href = "url" target = "new"> ✔️a
_______interface with all methods for contacting a database?
a. Driver
b. Connection
c. ResultSet
d. Statement ✔️b
Which implicit object is supported in jsp page to access pageScope, requestScope, sessionscope,
applicationScope?
a. scope object
b. pageContext object
c. application object
d. context object ✔️b
The class java.sql.Timestamp has its super class as
a. java.sql.Date
b. java.util.Time
c. java.util.Date
d. java.sql.Time ✔️c
What does the FilterChain do?
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller CertifiedGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.