Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Explain the difference between a Web server and a...
1.
Explain the difference between a Web server and a web container?
Answer»
Web Server
Web Container
1.
Provides Request and response for HTTP .
Ensures servlet objects life style is maintained.
2.
Handles client request through HTTP.
Uses
SERVICE
METHOD
for some servlet objects .
3.
Delivers
RESOURCES
and data of web pages .
Responsible for running the
SERVLETS
.
4.
Serves static content.
Serves dynamic content
5.
SUPERSET
Only a part of a superset
23. Explain the difference between JSP and servlet?
Servlet
JSP
1.
Java code
HTML-based code
2.
Acts like a controller in MVC.
View for showing output in MVC approach.
3.
Accepts protocol requests.
Accepts only HTTP requests.
4.
May override service() method.
Not possible to override service() method.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Does order of specifiers matter in Java? Will static public void work for main() method?
Can the main method be declared final?
Why do we call System.gc() in Java
Best practices related to Java Collections Framework?
What is a Static Nested Class in Java?
C++ supports Pointers, while Java does not. Why?
Why do we use variable length arguments in Java?
What are the types of Base64 encoding in Java?
What enhancements Java 9 brought to Process API?
Constructor vs Method in Java
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies