Quiz
Java quizlet - appintr is lyf
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (8)
1Which of the following files is the correct name and location of deployment descriptor of a web application. Assume that the web application is rooted at doc-root. Select the one correct answer.
- Adoc-root/dd.xml
- Bdoc-root/web.xml
- Cdoc-root/WEB_INF/dd.xml
- Ddoc-root/WEB-INF/web.xml
- Edoc-root/WEB_INF/web.xml
- Fdoc-root/WEB-INF/lib/dd.xml
- Gdoc-root/WEB-INF/classes/dd.xml
2Which element of the servlet element in the deployment descriptor is used to specify the parameters for the ServletConfig object.
- Aservlet-config
- Binit-param
- Cload-on-startup
- Dfilter
3Which of these is true about deployment descriptors? Select as many answers.
- AThe order of elements in deployment descriptor is not important. The elements can follow any order.
- BThe elements of deployment descriptor are case insensitive.
- CThe servlet-mapping element, if defined, must be included within the servlet element.
- DThe web-app element must include the servlet element
4With in a context-param element of deployment descriptor, which of the following element is required?
- Aparam-name
- Bname
- Cinit-param
- Dservlet-name
5Name the method defined in the HttpServletResponse class that may be used to set the content type.
- AsetType()
- BsetContent()
- CsetContentType()
- DsetResponseContentType()
6The method getWriter returns an object of type PrintWriter. This class has println methods to generate output. Which of these classes define the getWriter method?
- AHttpServletRequest
- BHttpServletResponse
- CServletConfig
- DServletContext
7When using HTML forms which of the following is true for POST method?
- APOST allows users to bookmark URLs with parameters.
- BThe POST method should not be used when large amount of data needs to be transferred.
- CPOST allows secure data transmission over the http method.
- DPOST method sends data in the body of the request.
8Name the location of compiled class files within a war file?
- A/META-INF/classes
- B/classes
- C/WEB-INF/classes
- D/root/classes
Informationen
- Beschreibung
- HAHAHAHA HOy WaG
- Autor
- Martin Agpalza
- Sprache
- English
- Aufrufe
- 2
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz