Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

PRJ301 FULLQuestions and Answers 2024

Beoordeling
-
Verkocht
-
Pagina's
27
Cijfer
A+
Geüpload op
09-08-2024
Geschreven in
2024/2025

PRJ301 FULL Questions and Answers 2024

Instelling
Vak

Voorbeeld van de inhoud

PRJ301 FULL Questions and Answers 2024



1. To send binary output in a response, which of the following method of HttpServletResponse
get the appropriate Writer/Stream object?: getOutput- Stream
2. Which of the following is NOT a valid attribute for useBean tag?: className
3. Which of the following defines the name of a tag in a taglibrary descriptor?-
: name
4. Study the statements about web.xml file:
1) The deployment descriptor file is called web.xml, and it must be located in the WEB-INF
directory.
2) web.xml is in XML (extended markup language) format. Its root element is
<web>.: Only statement 1 is true
5. Which interface you CANNOT use to obtain a ResquestDispatcher Object?-
: ServletContext
6. Which security mechanism proves that data has not been tampered with during its transit
through the network?: Data integrity
7. Which interface can you use to retrieve a resource that belongs to the current web
application: ServletContext
8. Your jsp page uses classes from java.util package. Which of the following statement would
allow you to import the package? (Choose one): <%@ page import="java.util*"%>
9. Which of the following statement correctly store an object associated with a name at a place
where all the servlets/jsps of the same webapp participating in a session can access it? Assume
that request, response, name, value etc. are references to objects of appropriate types.(Choose
one): request.getSes- sion().setAttribute(name, value);
10.Which element of the deployment descriptor of a web application includes the welcome-file-
list element as a sub element?: web-app
11.Which syntax is correct for JSP Declarations?: <%! code %>



, PRJ301 FULL Questions and Answers 2024
12.When you obtain a session( using getSession() of HttpServletRequest object), the web
manufactures a unique ID string for the session. This passed as a token between the client and
server.: True
13.Which statements are the BEST describe page attribute of <jsp:include page =...> Action?:
Dynamically includes another resource in a JSP. As the JSP executes, the referenced resource is
included and processed.
14.Data integrity is the biggest issue for your web application. What will you do?(choose one):
Use form-based authentication
15. The following statement is True or False?
Statement: A URL contains information that directs a browser to the resource that the user
wishes to access: True






, PRJ301 FULL Questions and Answers 2024



16. The following statement is True or False?
Statement: Servlet methods are executed automatically.: True
17.Which method would you use to put the session id into the URL to support sessions using
URL rewriting?: encodeURL() of HttpServletResponse
18.Regarding URL rewriting for session support, which of the following is true?: Every URL
that the client uses must include jsessionid
19.Which syntax is correct for JSP Scriptlets?: <% code %>
20.Which of the following is true about Data Integrity?: The information/data is not tampered
with, in transit from host to client
21. What is output to the web page on the second access to the same instance of the following
JSP?
<html>
<body>
<%! int x = 0; %>
<%= x++ %>
</body>
</html>: 0
22.The form attribute specifies the server-side form handler, i.e, the program
that handles the request: action
23. Name the default value of the scope attribute of <jsp:useBean>
A. page: page
24.The HttpServletRequest has methods by which you can find out about incoming
information such as:: All of the others
25. Given that a servlet has been mapped to /account/*.
Identity the HttpServletRequest methods that will return the/myapp segement- forthe URI:
/myapp/account/*.: getPathlnfo

Geschreven voor

Vak

Documentinformatie

Geüpload op
9 augustus 2024
Aantal pagina's
27
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$11.29
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
smartchoices Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
36
Lid sinds
5 jaar
Aantal volgers
5
Documenten
4499
Laatst verkocht
1 maand geleden

4.8

9 beoordelingen

5
7
4
2
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen