Is Tomcat an HTTP server or a Servlet container?
up vote
-2
down vote
favorite
When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?
apache http tomcat servlets
add a comment |
up vote
-2
down vote
favorite
When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?
apache http tomcat servlets
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?
apache http tomcat servlets
When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?
apache http tomcat servlets
apache http tomcat servlets
edited Nov 11 at 17:05
Abhinav
300211
300211
asked Nov 11 at 16:22
John Doe
216
216
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
At tomcat webpage there is:
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.
I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
add a comment |
up vote
0
down vote
Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.
Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.
N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
At tomcat webpage there is:
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.
I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
add a comment |
up vote
0
down vote
At tomcat webpage there is:
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.
I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
add a comment |
up vote
0
down vote
up vote
0
down vote
At tomcat webpage there is:
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.
I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
At tomcat webpage there is:
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.
I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.
https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
answered Nov 11 at 16:46
fairtrax
23616
23616
add a comment |
add a comment |
up vote
0
down vote
Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.
Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.
N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!
add a comment |
up vote
0
down vote
Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.
Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.
N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!
add a comment |
up vote
0
down vote
up vote
0
down vote
Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.
Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.
N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!
Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.
Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.
N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!
answered Nov 11 at 16:47
Abhinav
300211
300211
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250718%2fis-tomcat-an-http-server-or-a-servlet-container%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown