Exam 2: Servlets and Web Applications
Exam 1: Java Programming: HTTP Protocol, Scripting Tasks, and Data Access25 Questions
Exam 2: Servlets and Web Applications25 Questions
Exam 3: Java Server Pages JSP and Java Script25 Questions
Exam 4: Java, Servlets, JSP and EJB25 Questions
Exam 5: EJB, JSP, and Corba25 Questions
Exam 6: JSP, EJB, and JMS25 Questions
Exam 7: Java Web Development25 Questions
Exam 8: EJB and Server-Side Components11 Questions
Select questions type
Servlet technology is used to create web application?
Free
(Multiple Choice)
4.8/5
(44)
Correct Answer:
A
To get the servlet environment information
Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
C
Which method is used to specify before any lines that uses the PrintWriter?
(Multiple Choice)
4.9/5
(36)
The getSession() method with 'true' as its parameter [ getSession(true) ] it will return the appropriate session object when
(Multiple Choice)
5.0/5
(34)
The getSession() method with 'true' as its parameter [ getSession(true)] it will return the appropriate session object when
(Multiple Choice)
4.8/5
(34)
What is the limit of data to be passed from HTML when doGet() method is used?
(Multiple Choice)
4.9/5
(34)
The web container maintains the life cycle of a servlet instance,give the lifecycle of a servlet?
(Multiple Choice)
4.7/5
(36)
What's the difference between servlets and applets?
1) Servlets executes on Servers, where as Applets executes on Browser
2) Servlets have no GUI, where as an Applet has GUI
3) Servlets creates static web pages, where as Applets creates dynamic web pages
4) Servlets can handle only a single request, where as Applet can handle multiple requests
(Multiple Choice)
4.8/5
(38)
In which advantage of servlet, Servlets are managed by JVM so no need to worry about memory leak, garbage collection etc. ?
(Multiple Choice)
4.9/5
(39)
Which packages represent interfaces and classes for servlet API?
(Multiple Choice)
4.9/5
(50)
In HTTP Request method Get request is secured because data is exposed in URL bar?
(Multiple Choice)
4.8/5
(45)
In HTTP Request Which Asks for the loopback of the request message, for testing or troubleshooting?
(Multiple Choice)
4.8/5
(44)
In the following statements identify the disadvantages of CGI?
(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)