Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 41 pages
Exam (elaborations)

PRJ321 - Part I Exam Questions AND Correct Answers

Document preview thumbnail
Preview 4 out of 41 pages

PRJ321 - Part I Exam Questions AND Correct Answers

Content preview

PRJ321 - Part I Exam Questions AND Correct Answers
(Choose 1 answer)


A <servlet> element can include zero to many <init-param>
elements: These aid in passing initialization parameter
information from the deployment descriptor to all the
servlets.


A. False


B. True - ✔✔a


(Choose 1 answer)


A developer must implement a 'shopping cart" object for a
web-based application. The shopping cart must be able to
maintain the state of the cart but the state is not stored
persistently. Which JEE (J2EE) tech


A. JMS


B. Stateless session beans

,C. Stateful session beans


D. Entity beans - ✔✔c


(Choose 1 answer)


A JSP file uses a tag as <myTaglib:myTag>. The myTag element
here should be defined in the which element of the taglib
element in the tag library descriptor file ?


A. tagname


B. name


C. tag


D. prefix - ✔✔b


(Choose 1 answer)

,A JSP page called testjsp is passed a parameter name in the
URL using http://localhost/testjsp?name="John". The testjsp
contains the following code.


<%! String myName=requestgetParameterO;%>


<% String test= "welcome" + myName; %>


<%= test%>


What is the output?


A. The program prints "Welcome John"


B. The program gives a syntax error because of the statement
<%! String myName=requestgetParameterO;%>


C. The program gives a syntax error because of the statement
<% String test= "welcome" + myName: %>

, D. The program gives a syntax error because of the statement
<%= test%> - ✔✔b


(Choose 1 answer)


A JSP page needs to generate an XML file. Which attribute of
page directive may be used to specify that the JSP page is
generating an XML file?


A. <%@page contentType ='text/xml'>


B. <%@page contentType ='xml'>


C. <%@page contentType ='text/html*>


D. <%@page contentType ='html/xml*> - ✔✔a


(Choose 1 answer)


A(n)_enables a web application to obtain a Connection to a
database.

Document information

Uploaded on
November 5, 2025
Number of pages
41
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsCentre
3.7
(3)
Sold
13
Followers
0
Items
1709
Last sold
2 months ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions