100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PRJ301 Part 3 2024/2025 Exam Questions and Answers 100% Guaranteed Success | Already Rated A+ $12.99
Add to cart

Exam (elaborations)

PRJ301 Part 3 2024/2025 Exam Questions and Answers 100% Guaranteed Success | Already Rated A+

 0 purchase
  • Course
  • PRJ301
  • Institution
  • PRJ301

PRJ301 Part 3 2024/2025 Exam Questions and Answers 100% Guaranteed Success | Already Rated A+ 1 What gets printed when the following expression is evaluated? Select the one correct answer. ${(1==2) ? 4 : 5} a. 4 b. 5 c. 9 d. 3 -

Preview 4 out of 78  pages

  • March 16, 2025
  • 78
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • PRJ301
  • PRJ301
avatar-seller
NinjaNerd
PRJ301 Part 3 2024/2025 Exam
Questions and Answers 100%
Guaranteed Success | Already Rated A+



1 What gets printed when the following expression is evaluated? Select the

one correct answer.

${(1==2) ? 4 : 5}

a. 4

b. 5

c. 9


d. 3 - 🧠 ANSWER ✔✔b


2 Consider the following HTML page code:

<html><body>

<form name="data" action="/servlet/DataServlet" method="POST">

<input type="text" name="name">

<input type="submit" name="submit">



COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
1
STATEMENT. ALL RIGHTS RESERVED

,</form>

</body></html>

Identify the two methods that can be used to retrieve the value of the name

parameter when the form is submitted.

Select one or more:

a. getParameterValue( "name");

b. getParameterValues( "name");

c. getParameters( "name");


d. getParameter( "name"); - 🧠 ANSWER ✔✔bd


3 Which JSTL tag likes <%= ... >?Select one:

a. <c:out.print >

b. <c:output >

c. <c:in >


d. <c:out > - 🧠 ANSWER ✔✔d


4 What is the difference between MVC1 and MVC2?

a.MVC1 is page-centric, MVC2 is controller-centric



COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
2
STATEMENT. ALL RIGHTS RESERVED

,b.MVC2 is page-centric, MVC1 is controller-centric

c.The MVC1 process goes from one JSP page to another, while MVC2

directs to a common panel before directing to another page

d.MVC2 makes use of a system controller while MVC1 doesn't. - 🧠

ANSWER ✔✔c


5 What are Struts 2 Features? Choose 3

a. Struts 2 Actions are depend on the servlet API

b. Struts 2 Actions are thread safe

c. Any POJO class can be used as Action class.

d. No need of Action forms in Struts 2.

e. Struts 2 allows validation by using the validate() method in Action class. -

🧠 ANSWER ✔✔cde


6 Which of the following statements about the Servlet is false?

Select one:

a. Initialization code in servlets is executed every time the program is made

to run

b. Servlets are portable


COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
3
STATEMENT. ALL RIGHTS RESERVED

, c. Servlets are easy to use

d. All of the others


e. None of the others - 🧠 ANSWER ✔✔a


7 The deployment descriptor for a stateless session bean that uses the

isCallerInRole method reads as follows:

3. <security-role-ref>

4. <role-name>manager</role-name>

5. <role-link>humanresources</role-link>

6. <security-role-ref>

16. <security-role>

17. <description>

18. Is allowed to view and update all employee records.

19. </description>

20. <role-name>humanresources</role-name>

21. </security-role>




COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
4
STATEMENT. ALL RIGHTS RESERVED

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 NinjaNerd. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

69169 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 15 years now

Start selling
$12.99
  • (0)
Add to cart
Added